Skip to content

Instantly share code, notes, and snippets.

@manualbashing
Last active April 1, 2020 13:46
Show Gist options
  • Select an option

  • Save manualbashing/7dfc7429b176979ded3693bffa4b3a81 to your computer and use it in GitHub Desktop.

Select an option

Save manualbashing/7dfc7429b176979ded3693bffa4b3a81 to your computer and use it in GitHub Desktop.
Install all available windows update
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="notepadplusplus" />
</packages>
# Alle Windows Patches einspielen
c:\windows\system32\cscript.exe /nologo C:\windows\system32\de-DE\WUA_SearchDownloadInstall.vbs<c:\Users\Administrator\input.txt
$updates = Start-WUScan
if ($updates.Count -gt 0) {
$null = Install-WuUpdates -Updates $updates
if (Get-WuIsPendingReboot) {
Write-Host "Updates applied. Rebooting system."
Restart-Computer
}
}
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