Hi,
I'm new to PowerShell and would like to understand the motivation behind the differences in accessing the Registry, WMI and ADSI directory.
The Registry can be accessed as e.g.:
>Set-Location HKLM:\Software
WMI can be accessed as e.g.:
>Get-WmiObject Win32_ComputerSystem -Namespace "root\CIMV2" -ComputerName "."
ADSI/LDAP can be accessed (bound) as e.g.:
>$objADSI = [ADSI]"LDAP://DC=nwtraders,DC=msft”
Aren't they supported by the same PowerShell Provider framework? If they are, why are these differences? As far as I know, Providers allow us to work with data stores as if they were mounted drives.
Thank you!