Last active
April 1, 2020 13:46
-
-
Save manualbashing/7dfc7429b176979ded3693bffa4b3a81 to your computer and use it in GitHub Desktop.
Install all available windows update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <packages> | |
| <package id="notepadplusplus" /> | |
| </packages> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Alle Windows Patches einspielen | |
| c:\windows\system32\cscript.exe /nologo C:\windows\system32\de-DE\WUA_SearchDownloadInstall.vbs<c:\Users\Administrator\input.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A | |
| A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $updates = Start-WUScan | |
| if ($updates.Count -gt 0) { | |
| $null = Install-WuUpdates -Updates $updates | |
| if (Get-WuIsPendingReboot) { | |
| Write-Host "Updates applied. Rebooting system." | |
| Restart-Computer | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| route ADD 10.40.1.30 MASK 255.255.255.255 10.1.1.5 | |
| route ADD 10.40.1.10 MASK 255.255.255.255 10.1.1.5 | |
| route ADD 10.40.1.66 MASK 255.255.255.255 10.1.1.5 | |
| route ADD 193.158.226.22 MASK 255.255.255.255 10.1.1.251 | |
| route ADD 194.31.221.35 MASK 255.255.255.255 10.1.1.5 | |
| route ADD 193.111.167.0 MASK 255.255.255.0 10.1.1.251 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment