This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # note: requires Web Administration (IIS) Provider for Windows PowerShell | |
| # http://technet.microsoft.com/en-us/library/ee909471(v=ws.10).aspx | |
| cls | |
| try | |
| { | |
| Import-Module WebAdministration | |
| #Get-WebApplication |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Pause ($Message="Press any key to continue...") | |
| { | |
| # The ReadKey functionality is only supported at the console (not in the ISE) | |
| if ($PGSE -eq $null) | |
| { | |
| Write-Host -NoNewLine $Message | |
| $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") | |
| Write-Host "" | |
| } |
NewerOlder