< Back

Get-EncryptedString

Sat Jan 11, 2020 5:03 am

NAME Get-EncryptedString



SYNOPSIS

Decrypts a SecureString that was encrypted with the specified key





SYNTAX

Get-EncryptedString [-StringToDecrypt] <String[]> [-EncryptionKey] <String> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-StringToDecrypt <String[]>

The encrypted SecureString



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-EncryptionKey <String>

The encryption key



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





RELATED LINKS