John Liu .NET

View Original

Something Mark Dasco and I dug up

I'm just going to blog it so I don't need to remember it.

powershell -nologo -command "& {c:\test.ps1}"

executes the powershell script from old command prompt (or scheduled tasks).