Jenkins: centralizing the management of scheduled tasks


Windows Server 2019

Run a PowerShell command

At the beginning of the tutorial when installing the plugins, we installed PowerShell which allows the execution of PowerShell command.

The operation is identical to the Windows batch command line, when adding a step to the Build, choose Windows PowerShell 1 .

Jenkins - Windows PowerShell

Enter the PowerShell command (s) to execute.

PowerShell command

In the console output of the job, we find the result of the command.

Output command



Leave a Comment