次の方法で共有


SetByDisableAccounting method of the PS_RemoteAccessAccounting class

This cmdlet does the following1. Enables inbox and RADIUS accounting (both external RADIUS and Windows accounting) and configures their settings2. Disables inbox and RADIUS accounting.

Syntax

uint32 SetByDisableAccounting(
  [in]  string                 DisableAccountingType,
  [in]  string                 ComputerName,
  [in]  boolean                PassThru,
  [out] RemoteAccessAccounting cmdletOutput
);

Parameters

DisableAccountingType [in]

Indicates the accounting type that has to be disabled. Can take one of the following values. 1. Inbox 2. ExternalRadius

Inbox ("Inbox")

ExternalRadius ("ExternalRadius")

ComputerName [in]

IPv4/IPv6 address or hostname of the machine on which the remote access server machine specific tasks should be executed

PassThru [in]

Returns the object that represents the accounting configuration for Remote Access. By default this cmdlet does not generate any output

cmdletOutput [out]

  1. Status of inbox accounting (Enable, Disable) and store limit 2. Status of RADIUS accounting (Disable, Windows, ExternalRadius, LocalNps) and list of RADIUS servers if it is ExternalRadius

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_RemoteAccessAccounting