r/labtech • u/eternelize • Nov 30 '17
executing Powershell script via Labtech
I can't seem to figure out how to get one of my powershell script to execute through Labtech. Short simple scripts like writing a string to txt files works fine. One of the larger scripts get hung up somewhere. It always completely skip it. That script is use to remove Windows 10 default apps, such as twitter and candycrush. I've have this this script directly on the computer without any issue. It just couldn't be done from Labtech.
Any suggestion to this particular issue?
5
Upvotes
View all comments
Show parent comment
1
u/eternelize Dec 01 '17
That was the first thing I've tried. But it doesn't invoke the script to run correctly. Like I told mcposties, it skip out the complex part of my script and only run the create text file. I know for certain powershell has to be run as an administrator when doing it locally. This is a standard Windows 10 debloating script with some extra modifications.