Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

remote reg

$
0
0

I am reading an OU from active directory and then I'm trying to read a registry value from those machines.

$regkeypath="HKLM:\SOFTWARE\SSOProvider\ISXAgent"
$value1= (Get-ItemProperty$regkeypath).Type

The get-itemproperty does not seem to support a -ComputerName switch.   how is this done?  Can you use Get-WMIObject to query registry information?  

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles