--- external help file: PSAD-help.xml online version: https://github.com/zloeber/PSAD schema: 2.0.0


Get-DSADSiteSubnet

SYNOPSIS

Retreives the AD site information

SYNTAX

Get-DSADSiteSubnet [[-Forest] <String>] [[-ComputerName] <String>] [[-Credential] <PSCredential>]

DESCRIPTION

Retreives the AD site information

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

Get-DSADSiteSubnet

Returns the site subnets found in the current forest

PARAMETERS

-Forest

Forest name to retreive site from.

Type: String
Parameter Sets: (All)
Aliases: Name, Identity, ForestName

Required: False
Position: 1
Default value: ($Script:CurrentForest).name
Accept pipeline input: False
Accept wildcard characters: False

-ComputerName

Domain controller to use for this search.

Type: String
Parameter Sets: (All)
Aliases: Server, ServerName

Required: False
Position: 2
Default value: $Script:CurrentServer
Accept pipeline input: False
Accept wildcard characters: False

-Credential

Credentials to use for connection to AD.

Type: PSCredential
Parameter Sets: (All)
Aliases: Creds

Required: False
Position: 3
Default value: $Script:CurrentCredential
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES

Author: Zachary Loeber

https://github.com/zloeber/PSAD