param (
[string]$NewVar
)
function Get-MD5Hash($input) {
$md5 = [System.Security.Cryptography.MD5]::Create()
$bytes = [System.Text.Encoding]::UTF8.GetBytes($input)
$hash = $md5.ComputeHash($bytes)
$hashString = [BitConverter]::ToString($hash) -replace '-', ''
return $hashString
}
$md5Hash = Get-MD5Hash -input $NewVar
Write-Output $md5Hash
eetuRobo
11
Super User 2025 Season 1
KO-05050229-0
4
John_Mavridis
4
Microsoft Employee