PHP Execute PowerShell Script com parâmetros

param(
[string]$CMD
)

Invoke-expression $CMD
Hash'J Programming