Skip to content

Sparticuz/folder-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Folder Watcher & PSSlack

This script uses Powershell FileSystemWatcher and PSSlack to post folder status updates to a Slack channel.

To Run

folder-watcher.ps1 can be run with the following parameters

  • -folder #Enter the root path you want to monitor.
  • -filter #You can enter a wildcard filter here.
  • -includesubdir #$true or $false
  • -slackUri #The Slack URI, add one here
  • -slackChannel #The channel or dm of the message

To stop

run folder-unwatcher.ps1 to unregister the Watchers

Releases

No releases published

Packages

No packages published