------_=_NextPart_001_01C78059.DBC66E81
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
You probably heard about new admin-focused command line from Microsoft -
Windows PowerShell:
http://www.microsoft.com/windowsserver2003/technologies/management/power
shell/default.mspx
Also, you probably heard Quest released a free PowerShell commands for
Active Directory and sponsored a community around PowerShell -
PowerGUI.ORG:
http://www.quest.com/activeroles_server/arms.aspx
Here is a quick intro of what you can do with the Management Shell for
AD:
http://powergui.org/thread.jspa?threadID=2700&tstart=0
And some tricks on counting objects in your AD domain:
Part 1: http://powergui.org/thread.jspa?threadID=2701&tstart=0,
Part 2: http://powergui.org/thread.jspa?threadID=2702&tstart=0
For example, you can get a list of departments and user count for each
department, with just one line in command prompt:
PS C:\> Get-QADUser -sl 1000000 | Group-Object -property Department
-noelement | Sort-Object -Descending -Property Count
Count Name
---------
623 R&D
588
296 Marketing
292 Presales
284 Inside/Geo/Reg Sales
222 Support
170 Consulting Services
124 Named Accounts
107 Management-Sales
92 Admin-Sales
81 General Accounting
80 Channels
[...]
Enjoy,
Andrei
------_=_NextPart_001_01C78059.DBC66E81
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
charset=3Dus-ascii">
style=3D'font-size:
10.0pt;font-family:Arial'>You probably heard about new admin-focused =
command
line from Microsoft - Windows PowerShell:
style=3D'font-size:
10.0pt;font-family:Arial'>
href=3D"http://www.microsoft.com/windowsserver2003/technologies/managemen=
t/powershell/default.mspx">http://www.microsoft.com/windowsserver2003/tec=
hnologies/management/powershell/default.mspx=
style=3D'font-size:
10.0pt;font-family:Arial'>
style=3D'font-size:
10.0pt;font-family:Arial'>Also, you probably heard Quest released a free =
PowerShell
commands for Active Directory and sponsored a community around =
PowerShell -
PowerGUI.ORG:
style=3D'font-size:
10.0pt;font-family:Arial'>
href=3D"http://www.quest.com/activeroles_server/arms.aspx">http://www.que=
st.com/activeroles_server/arms.aspx
style=3D'font-size:
10.0pt;font-family:Arial'>
style=3D'font-size:
10.0pt;font-family:Arial'>Here is a quick intro of what you can do with =
the
Management Shell for AD:
style=3D'font-size:
10.0pt;font-family:Arial'>
href=3D"http://powergui.org/thread.jspa?threadID=3D2700&tstart=3D0">h=
ttp://powergui.org/thread.jspa?threadID=3D2700&tstart=3D0:p>
style=3D'font-size:
10.0pt;font-family:Arial'>
style=3D'font-size:
10.0pt;font-family:Arial'>And some tricks on counting objects in your AD =
domain:
style=3D'font-size:
10.0pt;font-family:Arial'>Part 1:
href=3D"http://powergui.org/thread.jspa?threadID=3D2701&tstart=3D0">h=
ttp://powergui.org/thread.jspa?threadID=3D2701&tstart=3D0,
style=3D'font-size:
10.0pt;font-family:Arial'>Part 2:
href=3D"http://powergui.org/thread.jspa?threadID=3D2702&tstart=3D0">h=
ttp://powergui.org/thread.jspa?threadID=3D2702&tstart=3D0:p>
style=3D'font-size:
10.0pt;font-family:Arial'>
style=3D'font-size:
10.0pt;font-family:Arial'>For example, you can get a list of departments =
and user
count for each department, with just one line in command =
prompt:
padding:1.0pt 4.0pt 1.0pt 4.0pt'>
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>PS
C:\> Get-QADUser -sl 1000000 | Group-Object -property Department =
-noelement |
Sort-Object -Descending -Property Count
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier =
New"'>
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>Count
Name
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier =
New"'>---------
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
623 R&D
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
588
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
296 Marketing
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
292 Presales
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
284 Inside/Geo/Reg Sales
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
222 Support
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
170 Consulting Services
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
124 Named Accounts
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
107 Management-Sales
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
92 Admin-Sales
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
81 General Accounting
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>
80 Channels
face=3D"Courier New">style=3D'font-size:10.0pt;font-family:"Courier New"'>[...]
style=3D'font-size:10.0pt;
font-family:Arial'>
style=3D'font-size:
10.0pt;font-family:Arial'>
style=3D'font-size:
10.0pt;font-family:Arial'>Enjoy,
style=3D'font-size:
10.0pt;font-family:Arial'>Andrei
style=3D'font-size:
10.0pt;font-family:Arial'>
------_=_NextPart_001_01C78059.DBC66E81--