PowerShell SnippetRace 24/2022

Reverse Text, PSDrives, ADAttribute, Tombstones

Events and Workshops

  • 1 day – June 20th-23rd 2022 – European PowerShell Conference in VIENNA psconf.eu
  • 10 days – June 29th 2022 – Expertslive Konferenz www.expertslive.at

Snippets

Reversing Text

The Ironscripter challenge is presented at every PowerShell+DevOps Summit in ths US, so was it this year. It was about the smartest solution on how to reversie text. See Jeffrey Hicks solution and discussion on this topic.

Adding Registry Hive HKCC to PSDrives

Patrick Grünauer wrote an article on this little hack. Read here.

Create and manage custom AD attributes with PowerShell

Active Directory is still the Nr. #1 HR Database in most companies. Every person needs a user and this user has attributes. Read Surender Kumars blog on how to extend AD and manage those attributes.

Find orphaned User-Accounts (Tombstones) in AD

AD is an ever-changing database. Old oser objects which represent accounts which are no longer active should be deleted, but sometimes they are left in the DB. Read Patrick Grünauers Blog on how to find orphaned user objects and delete them.

Have a nice week – R.

Photo by (see link https://unsplash.com/s/photos/reverse)