Sha256: 1caba41e02fc35f9042bd2abb418ebda91c7c339e17023a393df2a4404b8ab80

Contents?: true

Size: 277 Bytes

Versions: 65

Compression:

Stored size: 277 Bytes

Contents

function FindIISWebsite 
{
    param($name)
    import-module WebAdministration
    Get-Website | Where { $_.name -match $name }
}

function FindIISAppPool
{
    param($name)
    import-module WebAdministration
    Get-Item "IIS:\AppPools\$name" -Erroraction silentlycontinue
}

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
specinfra-1.0.0 lib/specinfra/backend/powershell/support/find_iis_component.ps1
specinfra-0.8.0 lib/specinfra/backend/powershell/support/find_iis_component.ps1
specinfra-0.7.3 lib/specinfra/backend/powershell/support/find_iis_component.ps1
specinfra-0.7.2 lib/specinfra/backend/powershell/support/find_iis_component.ps1
specinfra-0.7.1 lib/specinfra/backend/powershell/support/find_iis_component.ps1