Link to home
Start Free TrialLog in
Avatar of neil4933
neil4933

asked on

Check reg key value

Hi

We are running about 100 application servers on Windows 2008 Server. I need to check that they all have the following key:

HKLM\SYSTEM\CurrentControlSet\Services\BrokerApp\parameters\logon

With a value of "Cache" that is set to 1

Rather than logging onto each server manually, is there a way to run a Powershell to check this?
ASKER CERTIFIED SOLUTION
Avatar of binaryevo
binaryevo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The following example should help

http://poshcode.org/615
Avatar of SubSun
You may try this script from Script Center..
http://gallery.technet.microsoft.com/scriptcenter/8b49a002-f051-4014-99d7-33fc4b80c35e


Or use Test-RegKey and Test-RegValue functions from PSRemoteRegistry Module..
http://code.msdn.microsoft.com/PSRemoteRegistry