troubleshootingsql.com
GOTCHA: Executing powershell scripts using scheduled tasks
This is another gotcha for setting up scheduled tasks which execute PowerShell scripts. I have a SQL Server instance installed on an Azure virtual machine. I am using a D-Series machine which allow…