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
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
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
The owner has unlisted this package.
This could mean that the script is deprecated or shouldn't be used anymore.
Installation Options
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
- Log-Manager.nuspec
- Log-Manager.ps1