mirror of
https://github.com/KelvinTegelaar/RunAsUser.git
synced 2026-04-26 09:05:56 +03:00
[PR #18] [CLOSED] Added support for remoting + run under ADMIN (instead of SYSTEM) #8
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/RunAsUser#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KelvinTegelaar/RunAsUser/pull/18
Author: @ztrhgf
Created: 5/4/2021
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
78f5b02added support for remoting6c235d8added support for outputting the command result815937aadded support for passing arguments to scriptblock📊 Changes
1 file changed (+781 additions, -46 deletions)
View changed files
📝
Public/Invoke-AsCurrentUser.ps1(+781 -46)📄 Description
I was in need to run some code under logged users on remote computers, so I've modified your function a little bit.
PS: because I am sending this function to remote session I was forced to add $Source in function body, so there are no dependencies left behind
PPS: I am using this as single function, not as module
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.