powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-WebURL



NAME
Get-WebURL

SYNOPSIS
Issues a simple Web request for the specified IIS module location.

SYNTAX
Get-WebURL [[-PSPath] ] [-Accept ] [-ResponseHeaders] [-Content] [-WarningAction e>] [-WarningVariable ] []

Get-WebURL [[-Url] ] [-Accept ] [-ResponseHeaders] [-Content] [-WarningAction ] [-
WarningVariable ] []


DESCRIPTION
Issues a simple Web request for the specified IIS module location.


PARAMETERS
-PSPath
An IIS configuration path.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Accept
An HTTP accept header.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-ResponseHeaders
The HTTP response headers.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Content
The content returned by the request.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Url
The URL to be sent.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




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

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


Returns data about the Default Web Site.


ResponseUri Contents
----------- --------
http://localhost/ ".



RELATED LINKS