Get-WebHeaders
Get-WebHeaders
Get-WebHeaders
Gets the request/response headers for a url.
Syntax
Get-WebHeaders `
[-Url <String>] `
[-UserAgent <String>] `
[-IgnoredArguments <Object[]>] [<CommonParameters>]
Description
This is a low-level function that is used by Chocolatey to get the headers for a request/response to better help when getting and validating internet resources.
Aliases
None
Inputs
None
Outputs
None
Parameters
-Url [<String>]
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | 1 |
Default Value | |
Accept Pipeline Input? | false |
-UserAgent [<String>]
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | 2 |
Default Value | chocolatey command line |
Accept Pipeline Input? | false |
-IgnoredArguments [<Object[]>]
Property | Value |
---|---|
Aliases | |
Required? | false |
Position? | named |
Default Value | |
Accept Pipeline Input? | 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 .
Links
Function Reference:choco-info: NOTE
This documentation has been automatically generated from
Import-Module "$env:ChocolateyInstall\helpers\chocolateyInstaller.psm1" -Force; Get-Help Get-WebHeaders -Full
.
View the source for Get-WebHeaders