Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dismiss all Microsoft Visual Studio Community 2015 propmpts during installation automatically
- while (Get-Process | Where-Object {$_.Description -eq "Microsoft Visual Studio Community 2015 with Updates"})
- {
- Start-Sleep -Seconds 60;
- $wshell = New-Object -ComObject wscript.shell;
- $wshell.AppActivate('Visual Studio');
- $wshell.SendKeys("{ENTER}")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement