PowerShell Logo Small

Get-WebURL



This is the built-in help made by Microsoft for the command 'Get-WebURL', 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 information about the URL associated with the specified Web site.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


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



<

RELATED LINKS


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

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".