ConvertFrom-Base64ToMemoryStream

SYNOPSIS

Converts a base64 encoded string to a MemoryStream.

SYNTAX

ConvertFrom-Base64ToMemoryStream [-String] <String[]> [<CommonParameters>]

DESCRIPTION

Converts a base64 encoded string to a MemoryStream.

EXAMPLES

EXAMPLE 1

ConvertFrom-Base64ToMemoryStream -String 'QSBzdHJpbmc='

EXAMPLE 2

ConvertFrom-Base64ToMemoryStream -String 'A string','Another string'

EXAMPLE 3

'QSBzdHJpbmc=' | ConvertFrom-Base64ToMemoryStream

EXAMPLE 4

'QSBzdHJpbmc=','QW5vdGhlciBzdHJpbmc=' | ConvertFrom-Base64ToMemoryStream

PARAMETERS

-String

A Base64 Encoded String

Type: String[]
Parameter Sets: (All)
Aliases: Base64String

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.

INPUTS

OUTPUTS

[String[]]

NOTES

http://convert.readthedocs.io/en/latest/functions/ConvertFrom-Base64ToMemoryStream/