My Profile Photo

${Graham Beer} = 'blog'


Infrastructure Engineer, authored chapter in the PowerShell Conference Book, co-founder of the PowerShell user group in the South Coast and Top 50 Blogger 2018


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…