criticablog

ソフトウェアエンジニアがニッチな情報を書きます。

PowerShell

Best practice to run PowerShell scripts from Jenkins

Step-by-step Choose “Execute Windows batch command”. Paste this to print out command-lines itself to the console: @echo off type %0 echo. Surround your PowerShell script like this: powershell -noprofile -command "$ErrorActionPreference = '…