powershell from cmd code example Example 1: powershell open cmd Start-Process -FilePath cmd.exe Example 2: powershell command get-command