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?