{"repo":"DarkCoderSc/PowerRunAs","free":true,"listed":false,"github":"https://github.com/DarkCoderSc/PowerRunAs","clone":"git clone https://github.com/DarkCoderSc/PowerRunAs.git","description":"This module allows you to run a process (defaulting to PowerShell) as a different user by providing a known username and password. By default, the standard output (stdout), standard error (stderr), and standard input (stdin) are attached to the current console of the caller.","language":"PowerShell","stars":98,"topics":["powershell","powershell-module","runas","runas-command","runasadmin"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"PowerRunAs This module allows you to run a process (defaulting to PowerShell) as a different user by providing a known username and password. By default, the standard output (stdout), standard error (stderr), and standard input (stdin) are attached to the current console of the caller. This module can also be used as standalone script. Installation As a Module As a Script Or Or Invoke-🧠 Usage Parameter Type Default Description -------------------- ------------------ ------------ -------------- Username ( ) String None An existing Microsoft Windows local user account. Password ( ) String None Password of specified user account. Domain String None specify the domain of the user account under which the new process is to be started. Application String powershell.exe Application to be executed in the context of a different user. Argument String None An optional argument to be passed to the application. Detach Switch False If present, stdout, stdin, and stderr will not be connected to the current caller's console. The process will run in a detached state and will be visible. = Mandatory Options Example","default_branch":null,"files":null,"tree":[],"storefront":"/r/DarkCoderSc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DarkCoderSc/PowerRunAs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}