Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Sleep Deprived Loon (The real one)
- #06/02/2018 GTM +0 22:03 @undisclosed location
- #For PROGRAMAR, thanks for the oportunity to work with you guys!
- #
- #SoftEther VPN Connection Creator for Windows Power Shell Under Windows 8.x and above
- #Rev0.0.2 (auto switch execution policies to run script and avoid security issues, prompt user for parameters)
- #
- #SleepDeprivedLoon 2108 (Dont waste time! Live! Cause life is to short to be wasted!"
- #The fault in our stars!
- #
- #Be amazing, be yourserf be a ficking bad ass geek! Stay hungry, stay foolish!
- $policy = Get-ExecutionPolicy
- $name = Read-Host -Prompt 'Insira o nome da ligação'
- $serverAddr = Read-Host -Prompt 'Insira o endereço do servidor'
- Set-ExecutionPolicy Unrestricted
- Add-VpnConnection -Name $name -ServerAddress $serverAddr -TunnelType Sstp -EncryptionLevel Required -SplitTunneling -AllUserConnection -RememberCredential -PassThru
- Set-ExecutionPolicy $policy
Add Comment
Please, Sign In to add comment