PowerShell SnippetRace 47-49/2023

AD-Domain-SID, PowerShell 7.4, $error, haveibeenP0wned

Events

  • PS Usergroup Austria Q4/2023- Post Event Infos here and video here
  • PS Usergroup Austria Q1/2024 – March 26th 2024
  • PowerShell & DevOps Summit US – April 8-11 2024 Bellevue, WA – Anmeldung

Snippets

Retrieve the Active Directory Domain-SID

Most of you still uses Active Directory, Patrick shows you how to retrieve the AD Domain-SID with this little snippet. Read more here.

PowerShell 7.4. has been released

As this is tied to the .net release cycle, PowerShell 7.4. has been released, not with many new features, just that now Microsoft.PowerShell.PSResourceGet 1.0 is now an integral component of the PowerShell 7.4 release and PSReadLine has been updated to 2.3. See release notes here.

Error handling with $error

Another one with Patrick Grünauer deals with $error. Patrick goes a little bit in depth on this topic but stays clear on his approach to make it easy and readable in 5 Minutes. Dear with $errors better in the future here.

Find compromised passwords in Active Directory

„Have i been P0ned“ is the grey part of the DarkNet and helps us to find comprimized passwords. Read Wolfgang Sommerguts Blog on asking HibP0wned for AD-User passwords here.

Happy Advent to all !

R.

Foto von Kate Trysh auf Unsplash

Leave a Reply