Solved

Check reg key value

Posted on 2013-01-08
3
493 Views
Last Modified: 2013-01-27
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?
0
Comment
Question by:neil4933
3 Comments
 
LVL 14

Accepted Solution

by:
binaryevo earned 500 total points
ID: 38756659
0
 
LVL 11

Expert Comment

by:netballi
ID: 38756661
The following example should help

http://poshcode.org/615
0
 
LVL 40

Expert Comment

by:Subsun
ID: 38756851
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
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Set OWA language and time zone in Exchange for individuals, all users or per database.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question