Solved

Check reg key value

Posted on 2013-01-08
3
490 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
Comment Utility
0
 
LVL 11

Expert Comment

by:netballi
Comment Utility
The following example should help

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

Expert Comment

by:Subsun
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hi all.   The other day I had to change the passwords for a bunch of users on the fly. Because they were so many, I decided to do it in an automated way and I would like to share it with you all.   If you are not doing it directly in a Domain Co…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now