Why do we need to do this to use the Remote Registry object..
[Microsoft.Win32.RegistryKey]:
penRemoteBaseKey([Microsoft.Win32.RegistryHive]::LocalMachine,MachineName)
And not something like this:
new-object Microsoft.win32.RegistryKey...
Similar to what we can do with system.windows.forms?
I believe it has to do with the fact that PowerShell does not have a provider for this object, but how can we tell which objects do and which do not?
Or am I doing something wrong?
Thanks!