external help file | Module Name | online version | schema |
---|---|---|---|
ADReportingTools-help.xml |
ADReportingTools |
2.0.0 |
Get summary information about AD sites.
Get-ADSiteSummary [-Name <String>] [[-Server] <String>] [[-Credential] <PSCredential>] [<CommonParameters>]
This command will display a summary report of each Active Directory site.
PS C:\> Get-ADSiteSummary
Site: Default-First-Site-Name
Description: Home Office
Subnet Description Location
------ ----------- --------
192.168.3.0/24 Employees
192.168.99.0/24 Datacenter HQDC
Site: NoCal
Description: Bay Area Office
Subnet Description Location
------ ----------- --------
172.17.0.0/16
Specify an alternate credential.
Type: PSCredential
Parameter Sets: (All)
Aliases: RunAs
Required: False
Position: 1
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: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specify the name of an Active Directory site. The default is all sites.
Type: String
Parameter Sets: (All)
Aliases:
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/