Home Forums Article Discussions Article Discussions by Author Discuss content posted by Mayank Shukla Powershell Script for regular DBA activities RE: Powershell Script for regular DBA activities
er.mayankshukla
SSCarpal Tunnel
Points: 4190
More actions
January 11, 2017 at 8:27 pm
#1922101
I use to call this powershell script via batch file.
Here is the code for the batch file
@echo off
powershell -executionpolicy bypass -File C:\Users\mayank\Documents\Powershell\SqlMisc.ps1
pause
Just change the path for the powershell script