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
457 stars 70 forks source link

Update Invoke-CommandAs.ps1 #60

Closed kkawabanga closed 3 years ago

kkawabanga commented 3 years ago

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