次の方法で共有


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