View difference between Paste ID: qBevqXtN and 2D6xaz0U
SHOW: | | - or go back to the newest paste.
1
$response = Read-host "What's your password?" -AsSecureString
2
$password = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($response))