My Profile Photo
name := "Graham Beer"

`Cloud Engineer with his head in the AWS clouds, authored chapters in the PowerShell Conference Book 1 & 2 and currently learning and enjoying Go


PowerShell Conf Book Planet PowerShell Top 50 PowerShell

The System.IO.FileSystemWatcher .NET Class: Raise file system notifications in PowerShell

The use of .NET classes can extend PowerShell’s reach. In this article I will be looking at the System.IO.FileSystemWatcher .NET class and how you can use it to raise notifications on files and directories.

PowerShell doesn’t do restrictions, and when you can’t achieve something one way, there is most probably another way with PowerShell’s extension ability. To use an example of notifying about file system changes, we can delve into .NET classes. 4sysops article continues here…