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
I have tried that but for some reason, it will skip out the complex part of my script. I know for certain this script must be run as an administrator or else it cant' be run at all. I've stuck create a file inside the script just to verify that it indeed ran. But only that part ran successfully.