Created
April 25, 2018 15:47
-
-
Save gitfvb/3676e7b6b98b161ec8f32d0337dce2e7 to your computer and use it in GitHub Desktop.
file watcher in powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# show file events like in https://learn-powershell.net/2013/02/08/powershell-and-events-object-events/ | |
$fi = New-Object -Type System.IO.FileSystemWatcher | |
$fi | gm -type Event | Select Name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment