RunAs-System

1.0.0

Downloads PsExec, verifies its Microsoft signature, and launches the
target script as SYSTEM. If already running as SYSTEM, runs the target
script directly. Unrecognized arguments are passed through to the target.
If the supplied script path does not exist, this launcher will also look
for scripts that have previously been installed and are available via
PowerShell's
Downloads PsExec, verifies its Microsoft signature, and launches the
target script as SYSTEM. If already running as SYSTEM, runs the target
script directly. Unrecognized arguments are passed through to the target.
If the supplied script path does not exist, this launcher will also look
for scripts that have previously been installed and are available via
PowerShell's installed script locations or PATH, such as scripts installed
from the PowerShell Gallery or other package managers.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name RunAs-System

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Community Script

Package Details

Author(s)

  • Jeff Gilbert

Dependencies

This script has no dependencies.

Release Notes

10.23.2026  1.0.0   Initial release

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 14 10/23/2026