Gain a Splash of New Skills - Coursera+ Annual Nearly 45% Off
AI Adoption - Drive Business Value and Organizational Impact
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore filesystem event registration in PowerShell using Visual Studio Code and Remote Containers in this 39-minute video tutorial. Learn about essential VS Code extensions including Docker, PowerShell, and Remote-Containers. Dive into the System.IO.FileSystemWatcher class from the .NET Framework to monitor file and directory changes. Discover how to automatically trigger scripts in response to filesystem events, enhancing your software development and systems automation workflows. Gain hands-on experience creating a fresh PowerShell container, setting up VS Code, and implementing filesystem watching functionality. Master techniques for registering event handlers, addressing common issues, and building efficient scripts to streamline your development process.
Syllabus
Introduction
PowerShell and Docker extensions
Remote Containers extension
Create a fresh PowerShell container
Verify that the container is running
Install VS Code
FilesystemWatcher
Create a PowerShell file
Watch for changed
Register for changes
GetMember
Register Action Handler
The Issue
Building a Script
Last Run Time
Taught by
Trevor Sullivan