Welcome to TechNet Blogs Sign in | Join | Help

New PowerShell cmdlets let you manage Active Directory quickly and efficiently

Hands on with Windows Server 2008 r2: Admin tools

Here are some common commands:

  • To load the AD DS module, use Add-Module ActiveDirectory, then Get-Module
  • To get information about a domain, use Get-ADDomain domain_name
  • To display information about domain controllers in a specific domain, use Get-ADDomainController -Discover
  • To browse a specific domain, with results neatly formed in a table, "change directory" into AD via Cd AD: and then use the following series of commands:
  • PWD

    DIR | Format-Table -Auto

    CD "DC=domain_name,DC=TLD"

    DIR | ft –a

Published Monday, June 01, 2009 2:06 PM by patricg

Comments

No Comments
Anonymous comments are disabled
 
Page view tracker