mkellerman / Invoke-CommandAs

Invoke Command As System/Interactive/GMSA/User on Local/Remote machine & returns PSObjects.
https://www.powershellgallery.com/packages/Invoke-CommandAs/
MIT License
455 stars 71 forks source link

Update Invoke-CommandAs.ps1 #60

Closed kkawabanga closed 2 years ago

kkawabanga commented 2 years ago

use "-raw" switch, otherwise "get-content" removes newline-characters from the scriptfile on import.