Skip to content

Latest commit

 

History

History
117 lines (78 loc) · 2.12 KB

Get-ADSummary.md

File metadata and controls

117 lines (78 loc) · 2.12 KB
external help file Module Name online version schema
ADReportingTools-help.xml
ADReportingTools
2.0.0

Get-ADSummary

SYNOPSIS

Get a summary report of your AD domain and forest.

SYNTAX

Get-ADSummary [[-Identity] <String>] [-Server <String>] [-Credential <PSCredential>] [<CommonParameters>]

DESCRIPTION

This simple command will give you a snapshot-sized summary of your Active Directory domain and forest.

EXAMPLES

Example 1

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

PARAMETERS

-Credential

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

-Identity

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

-Server

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

ADSummary

NOTES

Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/

RELATED LINKS

Get-ADFSMO

Get-ADDomain

Get-ADForest