Powershell checkout script ideas

I'm looking for ideas on how best to setup a script that checks for settings on a windows server. Ideally, a list of registry settings and properties to check for and then provide an output of each setting checked with a "pass/fail" output. I know which settings I'm looking for and how to query them, I'm just looking for a framework of how to best create a report on them.Anyone have some existing examples?
LVL 1
LN41Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cantorisCommented:
You could always use DSC to "make it so" and then you don't even need to check any more...!
Jian An LimSolutions ArchitectCommented:
just want to added to the point.
DSC means Desired State Configuration
It used to be used with SCCM 2007 but powershell 4.0 introduce a powershell DSC which is what cantoris mention.

What DSC does is it will check and make sure it revert back to the settings you initial configure.

For example to check an exchange servers, some one wrote a DSC script
http://blogs.technet.com/b/mhendric/archive/2014/10/17/managing-exchange-2013-with-dsc-part-1-introducing-xexchange.aspx

The fun part of this is how to secure the password and that can be a bit challenging but you will learn it through.

For registry key
https://technet.microsoft.com/en-au/library/dn282133.aspx



In general:
https://technet.microsoft.com/en-au/library/dn249912.aspx?f=255&MSPPError=-2147217396

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.