Active Directory Management Framework

Configuration driven Active Directory management.

New-AdcPSSession

SYNOPSIS

Establish a new PowerShell remoting session to the target computer.

SYNTAX

New-AdcPSSession [[-ComputerName] <ComputerParameter>] [[-Credential] <PSCredential>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Establish a new PowerShell remoting session to the target computer. Respects the configuration provided via Set-AdcRemotingConfig.

EXAMPLES

EXAMPLE 1

New-AdcPSSession -ComputerName dc1.contoso.com

Establish a session to dc1.contoso.com using the settings for either dc1.contoso.com or contoso.com

PARAMETERS

-ComputerName

The computer to connect to. Specify thhe full FQDN.

Type: ComputerParameter
Parameter Sets: (All)
Aliases: Server

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Credential

The credentials to use for the connection.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

OUTPUTS

NOTES