more ways to add large powershell script #116
-
hello again :) sometimes when I convert script to -encodedcommand shape to add it like this
if the script size is large... the PowerShell will not run the encoded command and give an Error I tried to add the original script within " .., ", but I think i can't ...so many c# errors |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Store the script in a file? |
Beta Was this translation helpful? Give feedback.
-
fixed by spilt the script into 2 parts ... then execute it via EncodedCommand. |
Beta Was this translation helpful? Give feedback.
fixed by spilt the script into 2 parts ... then execute it via EncodedCommand.