Set method of the PS_DAOtpAuthentication class

Configures OTP authentication settings for DirectAccess.

Syntax

uint32 Set(
  [in]  string              ComputerName,
  [in]  string              CertificateTemplateName,
  [in]  string              CAServer[],
  [in]  string              UserSecurityGroupName,
  [in]  boolean             DisableTwoFactorBypass,
  [in]  boolean             PassThru,
  [in]  string              SigningCertificateTemplateName,
  [out] DAOtpAuthentication cmdletOutput
);

Parameters

ComputerName [in]

Specifies the name or IP address of the server on which the cmdlet should run.

CertificateTemplateName [in]

Specifies the name of the certificate template used for OTP.

CAServer [in]

Specifies CA servers that issue certificates for OTP authentication.

UserSecurityGroupName [in]

Specifies a security group containing users who are exempt from two-factor authentication.

DisableTwoFactorBypass [in]

Disables the option to allow users in a specific security group to be exempt from two-factor authentication, when two-factor authentication is enabled.

PassThru [in]

Returns the DAOtpAuthentication object that contains the OTP authentication configuration settings for DirectAccess.

SigningCertificateTemplateName [in]

Specifies the name of the certificate template used to enroll the certificate used by Remote Access to sign certificates used for OTP authentication.

cmdletOutput [out]

On success, contains a DAOtpAuthentication that describes the authentication settings.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll

See also

PS_DAOtpAuthentication