Share via


Disable method of the PS_DAMultiSite class

Disables a multisite deployment that contains a single entry point. After disabling, servers in the entry point will be configured with the remote access settings that were configured before the servers were joined to the multisite deployment.

Syntax

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

Parameters

ComputerName [in]

Name or IP address of a remote access server that multisite configuration settings will be removed from. If no value is specified the name of the local server on which the cmdlet runs is used.

Force [in]

Suppresses the option to allow a user to override a setting. (ShouldContinue prompts).

PassThru [in]

Specifying PassThru returns the Multisite object which contained the multisite configuration removed. This cmdlet doesn't generate an object by default.

cmdletOutput [out]

None unless PassThru is passed. If passthru is passed then the PS_DAMultiSite object is returned with the last configuration before removed

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_DAMultiSite