Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $password = "password" | ConvertTo-SecureString -AsPlainText -Force
- $username = "user"
- $cred = New-Object System.Management.Automation.PSCredential($username,$password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement