Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Get-WebURL

Windows Server 2012 R2 and Windows 8.1

Get-WebURL

Gets information about the URL associated with a website.

Syntax

Parameter Set: InputPSPath
Get-WebURL [[-PSPath] <String[]> ] [-Accept <String> ] [-Content] [-ResponseHeaders] [ <CommonParameters>]

Parameter Set: InputURL
Get-WebURL [[-Url] <Uri[]> ] [-Accept <String> ] [-Content] [-ResponseHeaders] [ <CommonParameters>]




Detailed Description

The Get-WebURL cmdlet gets information about the URL associated with the specified website.

Parameters

-Accept<String>

Specifies an HTTP Accept header.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Content

The content returned by the request.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PSPath<String[]>

Specifies an IIS configuration path to the site for which this cmdlet returns information.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-ResponseHeaders

The HTTP Response headers.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Url<Uri[]>

Specifies the URL for which information is retrieved.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Request the default website

This command returns data about the default website.


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft