Log-Manager

1.7

The script can cleanup and optionally archive old logs files.

This script can:

Delete files and folder trees older than X days.
Move files and folder trees to another location, after X days.
Archive files and folder tress as a ZIP file, after X days.

Please note: to send a log file using ssl and an SMTP password you must generate an encrypted
password file. The pas
The script can cleanup and optionally archive old logs files.

This script can:

Delete files and folder trees older than X days.
Move files and folder trees to another location, after X days.
Archive files and folder tress as a ZIP file, after X days.

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 Log-Manager -RequiredVersion 1.7

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

Log Manager Cleanup MDT Microsoft Deployment Toolkit IIS Internet Information Services

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
22.6.1 1,126 6/14/2022
21.12.9 235 12/9/2021
21.12.8.1 16 12/8/2021
21.12.8 13 12/8/2021
20.7.27 560 7/30/2020
20.7.21 26 7/26/2020
Show less