Notes
  • Home
Subscribe
Tagged

active directory

A collection of 3 posts

find all the members of an AD group via powershell and export as a csv
powershell

find all the members of an AD group via powershell and export as a csv

$Properties = @( 'DisplayName', 'SamAccountName', 'Enabled', 'Created', 'AccountExpirationDate', 'telephoneNumber', 'EmailAddress', 'mobile', 'title', 'manager', 'physicalDeliveryOfficeName', 'otherTelephone', 'department', 'state', 'whencreated' ) $Group = "[AD GROUP]

Steve Mar 30, 2023 • 1 min read
active directory

setting extensionAttribute values via powershell

Set-ADUser -Identity [username] -extensionAttribute1 '[value to add]' Set-ADUser -Identity [username] -extensionAttribute1 '[value to add]'

Steve Mar 30, 2023 • 1 min read
active directory

disabling accounts in AD via powershell

Disable-ADAccount -Identity [username]

Steve Mar 30, 2023 • 1 min read
Notes © 2025
Powered by Ghost