14 lines
280 B
PowerShell
14 lines
280 B
PowerShell
|
function ConvertFrom-Base64 {
|
||
|
<#
|
||
|
.SYNOPSIS
|
||
|
Converts text from Base64 to UTF8
|
||
|
|
||
|
.PARAMETER Input
|
||
|
Some base64 encoded text
|
||
|
#>
|
||
|
param (
|
||
|
[string]$InputObject
|
||
|
)
|
||
|
|
||
|
return [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($InputObject))
|
||
|
}
|