PowerShell Logo Small

Get-WebURL



This is the built-in help made by Microsoft for the command 'Get-WebURL', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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 information about the URL associated with the specified Web site.

SYNTAX


Get-WebURL [[-PSPath] <String[]>] [-Accept <String>] [-Content [<SwitchParameter>]] [-ResponseHeaders [<SwitchParameter>]] [<CommonParameters>]
Get-WebURL [[-Url] <Uri[]>] [-Accept <String>] [-Content [<SwitchParameter>]] [-ResponseHeaders [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Gets information about the URL associated with the specified Web site.



<

RELATED LINKS


REMARKS

<

Examples


-------------- EXAMPLE 1: Request the Default Web Site --------------

IIS:\>Get-WebURL 'IIS:\Sites\Default Web Site'



Returns data about the Default Web Site.

ResponseUri Contents

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

http://localhost/ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN".