$securePassword = Read-Host -asSecureString "Enter your password" 
$bytes = ConvertFrom-SecureString $securePassword 
Write-Host ""
Write-Host "Encrypted password:"
Write-Host $bytes -ForegroundColor Magenta
Write-Host ""
Write-Host "Note: Encrypted password generation is machine specific" -ForegroundColor Yellow