Partager via


Disable method of the PS_DAOtpAuthentication class

Disables OTP authentication for DirectAccess users.

Syntax

uint32 Disable(
  [in]  string              ComputerName,
  [in]  boolean             Force,
  [in]  boolean             PassThru,
  [out] DAOtpAuthentication cmdletOutput
);

Parameters

ComputerName [in]

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

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.

cmdletOutput [out]

An 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