ConvertFrom-Base64
SYNOPSIS
Convert Base64 to ClearText String
SYNTAX
ConvertFrom-Base64 [-String] <String[]> [[-Encoding] <Object>] [<CommonParameters>]
DESCRIPTION
This Function uses [System.Convert] to convert Base64 encoded String to ClearText. The Encoding parameter can be used to specify which encoding to use. Believe it or not, works on Linux/macOS!
EXAMPLES
EXAMPLE 1
ConvertFrom-Base64 'YXdlc29tZSwgaXNuJ3QgaXQ/'
This example converts the given Base64 encoded string to clear text.
PARAMETERS
-String
One or more Strings to be converted
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Encoding
The Encoding to use.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Default
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.