< Back

Set-PodeHeader

Sat Jan 18, 2020 7:19 pm

NAME Set-PodeHeader



SYNOPSIS

Sets a header on the Response, clearing all current values for the header.





SYNTAX

Set-PodeHeader [-Name] <String> [-Value] <String> [<CommonParameters>]





DESCRIPTION

Sets a header on the Response, clearing all current values for the header.





PARAMETERS

-Name <String>

The name of the header.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Value <String>

The value to set against the header.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-PodeHeader -Name 'X-AuthToken' -Value 'AA-BB-CC-33'















RELATED LINKS