external help file | Module Name | online version | schema |
---|---|---|---|
ADReportingTools-help.xml |
ADReportingTools |
2.0.0 |
Get a summary report of your AD domain and forest.
Get-ADSummary [[-Identity] <String>] [-Server <String>] [-Credential <PSCredential>] [<CommonParameters>]
This simple command will give you a snapshot-sized summary of your Active Directory domain and forest.
PS C:\> Get-ADSummary
Forest: Company.Pri [Windows2016Forest]
RootDomain : Company.Pri
Domains : {Company.Pri}
Domain : Company.Pri
DomainMode : Windows2016Domain
DomainControllers : {DOM1.Company.Pri, DOM2.Company.Pri}
GlobalCatalogs : {DOM1.Company.Pri, DOM2.Company.Pri}
SiteCount : 2
Specify an alternate credential.
Type: PSCredential
Parameter Sets: (All)
Aliases: RunAs
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specify the domain name. The default is the user domain.
Type: String
Parameter Sets: (All)
Aliases: name
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specify a domain controller to query.
Type: String
Parameter Sets: (All)
Aliases: dc, domaincontroller
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/