FileWatcher

1.0

Solution uses FileSystemWatch class to monitor a directory and copy files when detects a change, if desired.


Installation Options

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

Install-Script -Name FileWatcher -RequiredVersion 1.0

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

Package Details

Author(s)

  • francisconabas@outlook.com

Tags

File Copy Watcher

Functions

Global:Add-Log Global:Invoke-FileCopy New-FileWatcher Invoke-LogCleaner

Dependencies

This script has no dependencies.

Release Notes

FileWatcher.ps1 is composed of the following features:
Logging compatible with CMTrace.
Invoke-FileCopy function. with MD5 hash verification, copying only unique files.
New-FileWatcher function. Creates a File Watcher and register it for monitoring only or with file copy.
Invoke-LogCleaner function. Manages the logs generated by the solution.

FileList

Version History

Version Downloads Last updated
1.1 150 6/3/2021
1.0 (current version) 56 5/28/2021