Last active
February 21, 2024 10:18
-
-
Save JimMoyle/c883bbd60fd4fbeb3d8ea95616559f64 to your computer and use it in GitHub Desktop.
PowerShell to convert icon to use with Azure Virtual Desktop (AVD) App Attach
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Path = 'c:\myicon.png' | |
$Bytes = get-content $Path -AsByteStream -Raw | |
$inputFromBase64conv = [convert]::ToBase64String($Bytes) | |
$out = [System.Convert]::FromBase64String($inputFromBase64conv) | |
Write-Output $out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment