Quick Script to Edit a Single Attribute in AD on a Single User Account

There are no real dependencies for this script, PSv1 or v2, no snap-ins, no modules….just plain old PS (POPS 🙂 ).  No magic happening here, just some basic read-host and ADSI in play.  I wrote it for a colleague and thought I would share. #This will probably only work for strings and simple numbers and…

0

Using Add-Member in a Powershell One-Liner to Create Calculated Properties

This is one of the live demos I do when I teach class.  Its a slightly advanced concept for some of my students as it deals with object members.  It is actually fairly nice looking code and I love the fact that I can maintain my original object (instead of say changing to a PSCustom…

0