So i have a script that only works when i run it with SharePoint 2010 Management Shell. I am wanting to automate the script to run daily, but am unable to get Task Scheduler to open the program.
Most of what I have read only explains how to open Powershell. The script however doesn't work unless I use the management shell.










