Skip to content

Add Invoke-CommandAs.ps1 #12

@steviecoaster

Description

@steviecoaster

allows you to run a command on local or remote machine as the SYSTEM account or using the SYSTEM account to impersonate the currently logged in user and run command as them. Provide a switch (-Interactive) to allow command to be invoked in the currently logged on user's interactive session by using SeviceUI.exe.

Parameter [ValidateSet(CurrentUser,System)]
Idea Credit: Reddit user /u/zanatwo

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions