Get-PAMAuthenticationRestriction

Gets the status on whether PAM authentication restriction is enforced.

Syntax

Get-PAMAuthenticationRestriction
   [[-PrivDomain] <String>]
   [[-Credentials] <PSCredential>]
   [<CommonParameters>]

Description

The cmdlet returns the status indicating whether the PAM authentication restriction is enforced. If the authentication restriction is enforced, the PAM related service accounts will be allowed to authenticate only on the PAM server.

Examples

EXAMPLE 1

Get-PAMAuthenticationRestriction

PAM authentication restriction has been enforced.

Description


Returns whether PAM authentication restriction is enforced.

Parameters

-Credentials

The credential used for the configuration of PAM authentication restriction, usually the PRIV domain admin credential is required.

Type:PSCredential
Position:2
Default value:The credential of the current logon user
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PrivDomain

The name of the PRIV domain (NetBIOS or FQDN)

Type:String
Position:1
Default value:The name of the current logon user's domain
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

The cmdlet will return the status indicating whether the PAM authentication restriction is enforced.