Enable method of the PS_DAOtpAuthentication class

Enables and configures OTP authentication for DirectAccess users.

Syntax

uint32 Enable(
  [in]  string              RadiusServer,
  [in]  string              ComputerName,
  [in]  uint16              RadiusPort,
  [in]  string              CAServer[],
  [in]  string              CertificateTemplateName,
  [in]  string              SharedSecret,
  [in]  string              UserSecurityGroupName,
  [in]  boolean             Force,
  [in]  boolean             PassThru,
  [in]  string              SigningCertificateTemplateName,
  [out] DAOtpAuthentication cmdletOutput
);

Parameters

RadiusServer [in]

Specifies the FQDN or IP address (IPv4 or IPv6) of the RADIUS server used for OTP authentication.

ComputerName [in]

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

RadiusPort [in]

Specifies the RADIUS server port listening for authentication requests.

CAServer [in]

Specifies CA servers that issue certificates for OTP authentication. Specify a server in the format CAServer_Name\CAService_Name.

CertificateTemplateName [in]

Specifies the name of the certificate template used for OTP certificate enrollment.

SharedSecret [in]

Specifies the shared password used for communications between the Remote Access server and the RADIUS server.

UserSecurityGroupName [in]

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

Force [in]

Turns off the option that allows a user to confirm or cancel an action initiated by the cmdlet.

PassThru [in]

Returns the DAOtpAuthentication object that contains 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 contains the OTP authentication configuration 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