New-PAMSession

Creates a session for PAM administration with a different server.

Syntax

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

Description

The New-PAMSession cmdlet creates a session for Privileged Access Management (PAM) administration interaction with Active Directory and the Microsoft Identity Manager (MIM) Service.

Examples

Example 1: Create a session with a local Active Directory server using the identity of the currently logged in user

PS C:\> $Session = New-PAMSession

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

Optional Parameters

-Credentials

Specifies credentials of a PAM domain administrator.

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

Specifies the domain name of the PAM domain.

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

Outputs

Microsoft.IdentityManagement.PamCmdlets.Model.PAMSession