Log-Manager

20.7.27

This utility will delete files and folders older than X days.
It can also backup files and folders older than X days to another location.

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 th
This utility will delete files and folders older than X days.
It can also backup files and folders older than X days to another location.

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:\foo\ps-script-pwd.txt

Show more

Installation Options

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

Install-Script -Name Log-Manager -RequiredVersion 20.7.27

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 Contact: mike@gal.vin / twitter.com/mikegalvin_

Tags

Log Manager Clean up Backup Zip History MDT Microsoft Deployment Toolkit IIS Internet Information Services

Functions

Get-DateFormat Write-Log OptionsRun

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
22.6.1 1,062 6/14/2022
21.12.9 233 12/9/2021
21.12.8.1 14 12/8/2021
21.12.8 11 12/8/2021
20.7.27 (current version) 558 7/30/2020
20.7.21 24 7/26/2020
Show more