RunAsUserimpact

2.2

This module allows you to execute scripts under the current user while running as SYSTEM using impersonation.

Minimum PowerShell version

5.0

Installation Options

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

Install-Module -Name RunAsUserimpact

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

Install-PSResource -Name RunAsUserimpact

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

(c) 2020 Kelvin Tegelaar - Kelvin@CyberDrain.com All rights reserved.

Package Details

Author(s)

  • Kelvin Tegelaar - Kelvin@limenetworks.nl

Tags

RMM Invoke-AsCurrentUser CyberDrain

Functions

Invoke-AsCurrentUser

Dependencies

This module has no dependencies.

Release Notes

Version 1.0 allows you to run scripts as the current user. Version 1.5 has had a near-complete rewrite of the C# code, adding functionality to support elevated sessions. 1.5.1 added support for waiting for a process to finish. 1.6 added the "UseWindowsPowerShell" switch, to enforce the usage of windows PowerShell. Version 1.8 introduce the parameter -NonElevatedSession to create sessions without admin token. Version 1.9 introduced the option to have a visble PowerShell window.

FileList

Version History

Version Downloads Last updated
2.2 (current version) 2,520 3/8/2021