Advertisement
Guest User

Untitled

a guest
Apr 11th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} ;
  2. $postParams = @{username='[username]';password='[password]'}
  3. Invoke-WebRequest -Uri https://[host]:[port]/cas/v1/tickets/ -Method POST -
  4. Body $postParams'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement