Chris Bradbury

AD

Active Directory

AD OU – Remove Protected From Accidental Deletion

When creating an OU in AD, ticking the Protect from Accidental Deletion box seems like a good idea. Until you go to delete the OU. Even more so if you have multiple nested OUs and just want to delete the top level one. Powershell to the rescue! We can use Read more…

By chrisbradbury, 3 yearsMarch 4, 2020 ago
AD

Slack LAPS Slash Command

Having implemented LAPS (Local Administrator Password Solution) on all of our PCs there became a need to access the password when in the field away from a PC with easy access to AD / the LAPS GUI. As we use Slack for primary out-of-office communications, it made sense to create Read more…

By chrisbradbury, 6 yearsApril 6, 2017 ago
Active Directory

Powershell AD – Output groups a user is a member of

We occasionally need to make a note of the groups a user is a member of. If they’re going on maternity leave, for example. This script does require the Active Directory Module For Windows PowerShell. $user = “username” Get-ADPrincipalGroupMembership $user | select name  

By chrisbradbury, 6 yearsJanuary 27, 2017 ago
  • Cookie Policy
Hestia | Developed by ThemeIsle