Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How can get value of registry DWORD value of remote computers with powershell

$
0
0

HI

I am using below script to get registry of remote computers with powershell but not desired result.

$computers = Import-Csv 'C:\New folder\dclist.csv'
$key = "SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
foreach ($computer in $computers)
{
Get-RegDword -ComputerName $computer -Key $key -Value IsInstalled
}

As I have installed remoteregistry pssnapin a well..

Also How can i get this from Invoke-Command ............

Please help or guide me 


Viewing all articles
Browse latest Browse all 21975

Trending Articles