Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 691 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 691 Bytes

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