ps/Modules/Cole.PowerShell.Developer/Public/ConvertFrom-Base64.ps1

14 lines
280 B
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
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))
}