New-PAMSession

Creates a session for Privileged Access Management administration with a different server.

Syntax

New-PAMSession
   [[-Domain] <String>]
   [[-Credentials] <PSCredential>]
   [<CommonParameters>]

Description

The New-PAMSession cmdlet creates a session for interaction with AD and MIM Service for Privileged Access Management administration.

Examples

EXAMPLE 1

$session = New-PAMSession

Description


This command prepares a session with a local Active Directory server using the identity of the currently logged in user.

Parameters

-Credentials

credentials of a privileged access management (PAM) domain administrator.

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

-Domain

domain name of the privileged access management (PAM) domain.

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

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMSession