Skip to content

Instantly share code, notes, and snippets.

View mercdev's full-sized avatar

Latitude17 mercdev

View GitHub Profile
@mercdev
mercdev / iis-applications.ps1
Created May 2, 2015 23:04
Displays Applications configured in IIS
# 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
@mercdev
mercdev / iis-bindings.ps1
Created May 2, 2015 23:02
Displays IIS Website configuration information
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 ""
}