Multiple PowerShell commands at the same command line
In some situations I want to be able to run 2 or more PowerShell statements on the same line, without using a script (PS1 file). Semicolon can be used to chain Commands in PowerShell. powershell -command get-date;get-host This could for example come in handy in a Task Sequence as shown