I think I had a previous post on this but here it is again clean. I have this code in the RUN key in the registry. "C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe" -WindowStyle hidden "\\mgserv2\scripts\Tools\RebootTool\CheckUpTime.ps1" The issue is when this runs I do see the .CMD window. How do I make it hidden or at the very least minimized?
↧