MyBatch.cmd
PowerShell -Command "& { /\* Insert your command here \*/ }"
NOTE that inside command you have to escape quote character (”) with backslash (\)
PowerShell -Command "& { \"\" -eq [string]::Empty }" MyBatch.cmd
PowerShell -Command "& { /\* Insert your command here \*/ }"
NOTE that inside command you have to escape quote character (”) with backslash (\)
PowerShell -Command "& { \"\" -eq [string]::Empty }"