mirror of
https://github.com/KelvinTegelaar/RunAsUser.git
synced 2026-04-26 09:05:56 +03:00
[PR #27] [MERGED] Added CaptureOutput for commands. #9
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#9
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/27
Author: @redanthrax
Created: 4/25/2022
Status: ✅ Merged
Merged: 8/7/2022
Merged by: @KelvinTegelaar
Base:
master← Head:CaptureScriptOutput📝 Commits (1)
6f48e92Added CaptureOutput for commands.📊 Changes
3 files changed (+129 additions, -63 deletions)
View changed files
📝
Public/Invoke-AsCurrentUser.ps1(+4 -2)📝
README.md(+0 -0)📝
runasuser.psm1(+125 -61)📄 Description
Added ability to capture the output from a script/command ran in the users context.
This will redirect STDOut and STDErr from the users process so the user will not see output if a window is shown and captureoutput is set.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.