Get-WebURL
Gets information about the URL associated with the specified Web site.
PowerShell
Get-WebURL
[[-PSPath] <String[]>]
[-Accept <String>]
[-ResponseHeaders]
[-Content]
[<CommonParameters>]
PowerShell
Get-WebURL
[[-Url] <Uri[]>]
[-Accept <String>]
[-ResponseHeaders]
[-Content]
[<CommonParameters>]
Gets information about the URL associated with the specified Web site.
PowerShell
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".
An HTTP Accept header.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The content returned by the request.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
An IIS configuration path to the site for which information is returned.
Type: | String[] |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
The HTTP Response headers.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The URL for which information is retrieved.
Type: | Uri[] |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |