execute cmd from powershell code example
Example 1: cmd run powershell command
powershell -ExecutionPolicy Bypass -Command "your script here"
Example 2: powershell open cmd
Start-Process -FilePath cmd.exe
powershell -ExecutionPolicy Bypass -Command "your script here"
Start-Process -FilePath cmd.exe