Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $regeditInstance = [Diagnostics.Process]::Start("regedit","-m")
- #wait the regedit window to appear
- while ($regeditInstance.MainWindowHandle -eq 0){
- sleep -Milliseconds 100
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement