Tuesday, October 28, 2014

How to run Powershell in Windows Task Scheduler

Action : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Add Arguments : -noprofile -executionpolicy RemoteSigned -file E:\CopyBakPS\Powershell.ps1


No comments:

Post a Comment

How to add a Database to AlwaysOn Availability Group with four different options

To add a database to an existing AlwaysOn availability group, MS has given us four options to choose from Automatic seeding Full database an...