Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Capturing authentication info

$
0
0

It seems that the Connect-Swiss can accept PS credentials I do this:

 

$global:username = Read-Host "Username"

$global:password = Read-Host -AsSecureString "Password"

Write-Output ""

$global:creds = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$password

 

So I end up having $creds as a ps auth... It does not work. What am I missing?


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>