skip to main
|
skip to sidebar
Random.GetBlogEntry()
Friday, September 10, 2010
Flattening an AD group hierarchy
Sometimes it can be difficult to find all the members of an active directory group when there are multiple child or sub groups.
To flatten the hierarchy, use this command:
dsquery group -limit 0 | select-string
group_to_find
| dsget group -members -expand
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Labels
PowerShell
(52)
.NET Programming
(16)
C#
(8)
.NET CLR
(7)
Linux
(7)
Networking
(6)
TFS
(6)
Git
(5)
Silverlight
(5)
Visual Studio
(5)
SQL Server
(4)
WCF
(4)
Web Development
(4)
Continuous Integration / Build
(3)
MSBuild
(3)
Security
(3)
Virtualisation
(3)
WinDbg
(3)
ASP.NET MVC
(2)
Azure
(2)
C++
(2)
Static Code Analysis
(2)
Boost
(1)
FitNesse
(1)
Imaging
(1)
Javascript/EcmaScript
(1)
MSTest
(1)
Power
(1)
ReSharper (R#)
(1)
Server Core
(1)
TDD
(1)
WPF
(1)
WiX
(1)
Windows 8
(1)
Windows Mobile Development
(1)
jQuery
(1)
Blog Archive
►
2014
(1)
►
January
(1)
►
2013
(20)
►
December
(1)
►
November
(3)
►
October
(1)
►
August
(2)
►
July
(5)
►
June
(1)
►
May
(1)
►
April
(3)
►
March
(1)
►
February
(1)
►
January
(1)
►
2012
(30)
►
December
(4)
►
November
(6)
►
October
(5)
►
June
(2)
►
April
(2)
►
March
(2)
►
January
(9)
►
2011
(59)
►
December
(2)
►
November
(5)
►
October
(7)
►
September
(2)
►
August
(4)
►
July
(5)
►
June
(3)
►
May
(2)
►
April
(6)
►
March
(3)
►
February
(4)
►
January
(16)
▼
2010
(56)
►
December
(6)
►
November
(15)
►
October
(6)
▼
September
(1)
Flattening an AD group hierarchy
►
August
(1)
►
July
(2)
►
June
(1)
►
May
(4)
►
April
(9)
►
March
(3)
►
February
(6)
►
January
(2)
►
2009
(12)
►
December
(1)
►
November
(2)
►
October
(2)
►
September
(7)