1
0
mirror of https://github.com/jaapbrasser/SharedScripts.git synced 2025-12-24 21:51:38 +02:00

Created outline of ConvertTo-Base64GUIExample

This commit is contained in:
Jaap Brasser
2019-08-09 16:55:57 +02:00
parent bbac929ecf
commit a385fb3616

View File

@@ -0,0 +1,4 @@
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic') | Out-Null
$InputBox = [Microsoft.VisualBasic.Interaction]::InputBox("Let's convert this to base64", "Sabrina's App", $null)
$InputBox = [convert]::ToBase64String([char[]]$InputBox)
[Microsoft.VisualBasic.Interaction]::MsgBox($InputBox,0,"Sabrina's App")