Gustavo Frederico
General Ideas by Gustavo
FB_init
Friday, August 20, 2010
PowerShell listing web sites
And here is a PowerShell script to list web sites.
Import-Module WebAdministration
while($true) {
Write-Host '--- - - - '
Get-Item IIS:\Sites\* | Select-Object -property Name,State
Write-Host ' ******** '
Start-Sleep -s 20
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment