1
0
mirror of https://github.com/jaapbrasser/SharedScripts.git synced 2026-06-14 00:14:16 +02:00

Update ConvertTo-CompressedBase64.ps1

This commit is contained in:
Jaap Brasser
2020-06-02 23:02:29 +02:00
committed by GitHub
parent d7b781f838
commit 3c28f76989
@@ -1,4 +1,8 @@
Function ConvertTo-CompressedBase64 {
Function ConvertTo-CompressedBase64 {
<#
.SYNOPSIS
Function to convert a string to a Compressed base64 string
#>
[cmdletbinding()]
param(
[Parameter(
@@ -12,4 +16,4 @@
$sw.Write($InputObject.ToCharArray())
$sw.Close()
[System.Convert]::ToBase64String($ms.ToArray())
}
}