Difference between revisions of "Powershell"

From MyWiki
Jump to: navigation, search
Line 2: Line 2:
 
To disconnect at the end of session : Disconnect-QADService<br>
 
To disconnect at the end of session : Disconnect-QADService<br>
 
$pw = read-host "Enter password" -AsSecureString<br>
 
$pw = read-host "Enter password" -AsSecureString<br>
 +
connect-QADService -service 'cgs-vsvr-dc02.campus.goldsmiths.ac.uk'-ConnectionAccount 'CAMPUS\da_gthom001'-ConnectionPassword $pw<br>

Revision as of 13:38, 23 May 2014

Add-PSSnapin Quest.ActiveRoles.ADManagement
To disconnect at the end of session : Disconnect-QADService
$pw = read-host "Enter password" -AsSecureString
connect-QADService -service 'cgs-vsvr-dc02.campus.goldsmiths.ac.uk'-ConnectionAccount 'CAMPUS\da_gthom001'-ConnectionPassword $pw