The Windows batch shell, commonly referred to as cmd, cmd.exe or the command prompt
Batch specific details:
%
signs (e.g. %CI_DIR%
)rem
keyword is a way to comment out codeWindows PowerShell is a scripting engine .DLL that's embedded into multiple hosts. The most common hosts you'll start are the interactive command-line powershell.exe and the Interactive Scripting Environment powershell_ise.exe.
Powershell is the modern Windows command prompt. Usage is similar to cmd, but with a few key differences. Some UNIX commands are also supported, such as ls
.
Powershell specific details:
$env:
prefix. Sometimes, variables must also be enclosed by quotation marks to properly functionout-null
is the Powershell variant of NUl or /dev/nullcmd /c “insert script or command here”