Summary
This chapter looked at working with providers, focusing on the FileSystem
and Registry
providers.
Providers use a common set of commands to access data arranged in a hierarchy. Providers may choose to add extra functionality with dynamic parameters for each of the commands, for example, by adding parameters to provide filtering.
Provider implementations can choose to support a variety of different operations, from reading and writing content to management ACLs.
In Windows PowerShell, the Registry
provider supports transactions, allowing a sequence of changes to be prepared, then either committed or undone as applicable.
PowerShell 5 added commands to work with file catalogs. You can use a file catalog to see how a set of files changes over time or to validate a copied folder.
The next chapter explores how to work with WMI using the CIM commands built into Windows PowerShell and PowerShell Core.
Learn more on Discord
Read this book alongside other...