Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

run .cmd window hidden

$
0
0

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?  


Viewing all articles
Browse latest Browse all 6937

Trending Articles