Wsus-Maintenance

1.6

Runs the maintenance/clean up routine for WSUS.

This script will:

Run the WSUS server clean up process, which will delete obsolete updates, as well as declining expired and superseded updates.
It can also optionally create a log file and email the log file to an address of your choice.

Please note: to send a log file using ssl and an SMTP password you must generate
Runs the maintenance/clean up routine for WSUS.

This script will:

Run the WSUS server clean up process, which will delete obsolete updates, as well as declining expired and superseded updates.
It can also optionally create a log file and email the log file to an address of your choice.

Please note: to send a log file using ssl and an SMTP password you must generate an encrypted
password file. The password file is unique to both the user and machine.

The command is as follows:

$creds = Get-Credential
$creds.Password | ConvertFrom-SecureString | Set-Content c:\foo\ps-script-pwd.txt
   
Show more
The owner has unlisted this package. This could mean that the script is deprecated or shouldn't be used anymore.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Wsus-Maintenance -RequiredVersion 1.6

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(C) Mike Galvin. All rights reserved.

Package Details

Author(s)

  • Mike Galvin twitter.com/digressive

Tags

WSUS Windows Server Update Services Maintenance Clean up

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
23.4.28 12,838 4/28/2023
23.3.21 496 4/10/2023
22.6.18 702 6/18/2022
22.5.28 27 6/14/2022
21.12.8.1 396 12/8/2021
21.12.8 12 12/8/2021
20.3.20 1,120 3/20/2020
20.3.3 47 3/5/2020
1.8 213 9/4/2019
Show less