PowerShell Logo Small

Get-Website



This is the built-in help made by Microsoft for the command 'Get-Website', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets configuration information for an IIS Web site.

SYNTAX


Get-Website [[-Name] <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Gets configuration information for an IIS Web site.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=287868

REMARKS

<

Examples


-------------- EXAMPLE 1: Get information about the Default Web Site --------------

IIS:\>Get-Website -Name "Default Web Site"



Returns the configuration information for the Default Web Site.

Name ID State Physical Path Bindings

---- -- ----- ------------- --------

Default Web Site 1 Started%SystemDrive%\inetpub\wwwroot http *:80:

net.tcp 808:*