Wsus-Maintenance
21.12.8
Runs the built-in maintenance/clean up routine for WSUS.
The device that the script is being run on must have the WSUS management tools installed.
To send a log file via e-mail using ssl and an SMTP password you must generate an encrypted password file.
The password file is unique to both the user and machine.
To create the password file run this command as the user
The device that the script is being run on must have the WSUS management tools installed.
To send a log file via e-mail using ssl and an SMTP password you must generate an encrypted password file.
The password file is unique to both the user and machine.
To create the password file run this command as the user
Runs the built-in maintenance/clean up routine for WSUS.
The device that the script is being run on must have the WSUS management tools installed.
To send a log file via e-mail using ssl and an SMTP password you must generate an encrypted password file.
The password file is unique to both the user and machine.
To create the password file run this command as the user and on the machine that will use the file:
$creds = Get-Credential
$creds.Password | ConvertFrom-SecureString | Set-Content C:\scripts\ps-script-pwd.txt
Show more
The device that the script is being run on must have the WSUS management tools installed.
To send a log file via e-mail using ssl and an SMTP password you must generate an encrypted password file.
The password file is unique to both the user and machine.
To create the password file run this command as the user and on the machine that will use the file:
$creds = Get-Credential
$creds.Password | ConvertFrom-SecureString | Set-Content C:\scripts\ps-script-pwd.txt
Installation Options
Owners
Copyright
(C) Mike Galvin. All rights reserved.
Package Details
Author(s)
- Mike Galvin Contact: mike@gal.vin / twitter.com/mikegalvin_ / discord.gg/5ZsnJ5k and also contribution from ideas@habs.homelinux.net
Tags
WSUS Windows Server Update Services Maintenance Clean up
Functions
Dependencies
This script has no dependencies.
FileList
- Wsus-Maintenance.nuspec
- Wsus-Maintenance.ps1