Cmdlet-ize the Registry
summary
Creates a real module that wraps the StdRegProv WMI class with CDXML so registry operations become normal PowerShell cmdlets rather than awkward WMI calls, implements get read write create delete methods, normalizes the ugly hive numbers into friendly enums, adds parameter validation and mandatory flags, leverages PowerShell 3.0/CIM remoting so it works locally or over WSMan session remoting, and ships a tested codebase (hundreds of lines) you can import and use.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 12:45Demo: Win32_BIOS class
- 17:20Creating registry cmdlets with CDXML
- 22:20Importing registry module
- 35:09Advanced registry value management
- 42:46Summary
related talks
23mOne Registry to Rule them All
01h 29mModularizing PowerShell: Making Code Portable
01h 28mWriting Compiled PowerShell Cmdlets
01h 07mPowerShell: Designed for a Messy World
46mManaging Server State using Configuration as Code
48mDevice Management With PowerShell
46mRecreate MOF based DSC resources as Class based DSC resouces
46mFrom Script to Tool: Building Robust, Meaningful Tools with PowerShell
