Tuesday, February 27, 2018

Start a Hidden Process with PowerShell

Here's how to launch a hidden Windows process using PowerShell:

 Start-Process -WindowStyle hidden -FilePath <process_name>

 


 When we run this, we won't see anything happen. That's because the notepad window is hidden. But if we check Task Manager we'll see that notepad actually launched.

No comments:

Post a Comment