Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. $regeditInstance = [Diagnostics.Process]::Start("regedit","-m")
  2. #wait the regedit window to appear
  3. while ($regeditInstance.MainWindowHandle -eq 0){
  4. sleep -Milliseconds 100
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement