You've already forked SharedScripts
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:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user