Scheduling PowerShell Using Jenkins


Introduction

PowerShell is a task-based command-line shell and scripting language; it is designed specifically for system administrators and power-users, to rapidly automate the administration of multiple operating systems (Linux, OSX, and Windows) and the processes related to the applications that run on those operating systems. For system administrators (DBAsWintel Admins), creating PowerShell scripts is a day to day activity that helps them automate their tasks.

Scheduling PowerShell scripts is one of the key parts in automation. There are multiple ways to schedule a PowerShell script in Windows machines, with options like Windows Task scheduler, SQL Server Agent jobs, Jenkins, etc. This