Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # Dismiss all Microsoft Visual Studio Community 2015 propmpts during installation automatically
  2. while (Get-Process | Where-Object {$_.Description -eq "Microsoft Visual Studio Community 2015 with Updates"})
  3. {
  4. Start-Sleep -Seconds 60;
  5. $wshell = New-Object -ComObject wscript.shell;
  6. $wshell.AppActivate('Visual Studio');
  7. $wshell.SendKeys("{ENTER}")
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement