PowerShell function to runas a different user

Script grab or sets password to and from file. Using this method this allows to emulate the runas command and you are able to run commands in PowerShell with -credential without having to type a password. This allows for automation of tasks were multiple accounts are required.

 
 
 
 
 
3.7 Star
(34)
13,518 times
Add to favorites
Active Directory
11/29/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


Be the first to ask a question.