Get Unique Departments From Active Directory

get-aduser -filter * -property department | Select-Object -ExpandProperty department | sort-object  -unique

Revision #2
Created 2025-02-07 20:42:58 UTC by Ryan
Updated 2025-03-12 17:50:56 UTC by Ryan