Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $response = Read-host "What's your password?" -AsSecureString
- $password = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($response))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement