< Back

Protect-PodeLogItem

Sat Jan 18, 2020 7:17 pm

NAME Protect-PodeLogItem



SYNOPSIS

Masks values within a log item to protect sensitive information.





SYNTAX

Protect-PodeLogItem [[-Item] <String>] [<CommonParameters>]





DESCRIPTION

Masks values within a log item, or any string, to protect sensitive information.

Patterns, and the Mask, can be configured via the server.psd1 configuration file.





PARAMETERS

-Item <String>

The string Item to mask values.



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue)

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:\\>$value = Protect-PodeLogItem -Item 'Username=Morty, Password=Hunter2'















RELATED LINKS