PowerShell (PSH) offers the possibility of creating "Providers" that allow you to process various resources as a file system (including file system, registry, active directory) at various levels to simple lists of value names (for example, dir env: will display all environment variables as contents drive env: .
PowerShell can also be integrated into a .NET application: roughly, create a Runspace , and then execute commands and scripts in it, including loading the PSH module, which includes the user provider. Runspace instance Runspace allow access to disks and their providers.
Richard
source share