Share via


Enable method of the PS_DAMultiSite class

Enables and configures a multisite deployment, and adds the first entry point. A prerequisite check is performed for multi-site deployment requirements.

Syntax

uint32 Enable(
  [in]  string      ComputerName,
  [in]  string      EntryPointName,
  [in]  string      GslbFqdn,
  [in]  string      ManualEntryPointSelectionAllowed,
  [in]  string      Name,
  [in]  string      GslbIP,
  [in]  boolean     Force,
  [in]  boolean     PassThru,
  [out] DAMultiSite cmdletOutput
);

Parameters

ComputerName [in]

Name or IP address of a remote access server that will be included in the multisite deployment. If no value is specified the name of the local remote access server on which the cmdlet runs is used.

EntryPointName [in]

The name of the first entry point in the multisite deployment. Current DirectAccess servers will be used for the first entrypoint.

GslbFqdn [in]

FQDN of a global server load balancer

ManualEntryPointSelectionAllowed [in]

Specifies whether clients running operating systems later than Windows 7 can manually select the entry point to which they connect. Can be set as Enabled or Disabled. By default this feature is enabled.

Enabled ("Enabled")

Disabled ("Disabled")

Name [in]

The friendly name used to identify the multisite deployment.

GslbIP [in]

The IPv4 or IPv6 address of the entry point server, or the VIP of entry point server cluster, to be used for global load balancing.

Force [in]

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

PassThru [in]

Specifying PassThru returns the PS_DAMultiSite object which contains the entire multisite configuration. This cmdlet doesn't generate an object by default.

cmdletOutput [out]

  1. Multisite deployment name. 2. Multisite deployment entrypoints, each of the entrypoint has the list of servers associated with it. 3. Global load balancing FQDN (if defined). 4. Whether remote access clients can manually select an entry point.

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