PowerShell

Quickly Compare User’s AD Group Membership in PowerShell

Profile picture for user PaulW
Posted by PaulW on Sun, 02/10/2019 - 11:22pm

Often I get access requests, especially for new employees, for setting up someone’s network permissions like Dan's in the marketing department.  Dan is new to the Marketing team and his manager wants his account set up like Paul's account.  So, normally, I would do a side by side comparison in ADUC and then fill in the gaps.  That sounds a little tedious.  So, I wrote a quick function to compare groups and output those that are common between each and unique to each.  Here is a sample of the output from the function:

Getting Status Message Possibilities

Profile picture for user PaulW
Posted by PaulW on Mon, 02/04/2019 - 11:58pm

My coworker and I have recently had a little bit of fun with status messages, using them to trigger emails and other alerts to admins etc.  In playing with them, I was curious on just how many there were, or could be rather.  I then stumbled across this technet gallery post.  So, yes you can do whatever you are trying to track and view all status messages that are sent to CM but, this may be useful in helping narrow that down ahead of time.

So, here we go.

Configuration Manager Documentation Script

Profile picture for user PaulW
Posted by PaulW on Mon, 12/31/2018 - 04:33pm
Originally posted on the Cyber Advisors blog on May 7, 2018. Updated and expanded below.

Administration of Configuration Manager is more than a full-time job by itself. Maintaining some sort of documentation for the environment that can be given to management or stored internally can be an all together second job. So, why continue a manual task of creating documentation when you could automate it and have an extensive and detailed document created in minutes instead of hours.