Enable-DAMultiSite

Enable-DAMultiSite

Enables and configures a multi-site deployment, and adds the first entry point.

構文

Parameter Set: Enable1
Enable-DAMultiSite [-EntryPointName] <String> [-AsJob] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-Force] [-GslbFqdn <String> ] [-GslbIP <IPAddress> ] [-ManualEntryPointSelectionAllowed <String> ] [-Name <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Enable-DAMultiSite cmdlet enables and configures a multi-site deployment. This cmdlet configures both global multi-site settings and entry point-specific settings.

Global settings include:
-- Multi-site deployment name.
-- A fully qualified domain name (FQDN) for global load balancing. This setting is optional.
-- Support for remote clients to manually select the entry point to which they connect.

Entry point-specific settings include:
-- Entry point name.
-- A global load balancing IP address for the entry point. This setting is optional.

A prerequisite check is performed for multi-site deployment requirements.

パラメーター

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ComputerName<String>

Specifies the IPv4 or IPv6 address, or host name, of a server or server cluster in the multi-site deployment.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-EntryPointName<String>

Specifies the name of the first entry point in the multi-site deployment.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-Force

ユーザーの確認を求めずにコマンドを強制的に実行します。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-GslbFqdn<String>

Specifies the FQDN of a third-party global load balancer. Global load balancing is used to direct Remote Access clients to the nearest entry point.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-GslbIP<IPAddress>

Specifies the IPv4 or IPv6 dedicated IP address (DIP) of the server, or the virtual IP address (VIP) of the server cluster, to be used for global load balancing.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-ManualEntryPointSelectionAllowed<String>

Allow clients running or Windows® 8 to manually select the entry point to which they connect.

エイリアス

なし

必須?

false

位置は?

named

既定値

'Enabled'

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name used to identify the multi-site deployment.

エイリアス

なし

必須?

false

位置は?

named

既定値

"Enterprise"

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-PassThru

作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットによる出力はありません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • None

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.Management.Infrastructure.CimInstance#DAMultiSite

    Microsoft.Management.Infrastructure.CimInstance オブジェクトは、Windows Management Instrumentation (WMI) オブジェクトを表示するラッパー クラスです。シャープ記号 (#) の後のパスは、基になる WMI オブジェクトの名前空間とクラス名です。
    The DAMultisite object contains the entire multi-site deployment configuration as follows:
    -- Multi-site deployment name.
    -- Multi-site entry points, where each entry point has a list of associated servers.
    -- Global load balancing FQDN, if defined.
    -- Support for remote clients to manually select the entry point to which they connect.

EXAMPLE 1

This example enables Direct Access (DA) Multi-site on the local DA server while using default parameters and naming the first entry point Entry Point 1. As can be seen from the output, the cmdlet chose a default EnterpriseName Enterprise and enabled the Manual Entry Point Selection by the Windows Server® 2012 user.

PS C:\> Enable-DAMultiSite -EntryPointName "Entry Point 1" -PassThru -Force

EXAMPLE 2

This example enables DA Multi-site on the remote DA server ‘DA1’ while using default parameters and naming the first entry point Entry Point 1. As can be seen from the output, the cmdlet chose a default EnterpriseName Enterprise and enabled Manual Entry Point Selection by the Windows Server 2012 user.

PS C:\> Enable-DAMultiSite -EntryPointName "Entry Point 1" -ComputerName "da1" –PassThru

EXAMPLE 3

This example enables DA Multi-site on the local computer while naming the Multi-site deployment Company Enterprise and determining the FQDN of a third-party load balancer directaccessGlobalSite.contoso.com. Using load balancer will also require entering the GslbIP for the first entry point 137.2.0.1.
As can be seen from the output, the cmdlet enabled Manual Entry Point Selection by the Windows Server 2012 user.

PS C:\> Enable-DAMultiSite "Entry Point 1" -GslbFqdn "directaccessGlobalSite.contoso.com" –EnterpriseName "Company Enterprise" -GslbIP "137.2.0.1" -PassThru -Force

EXAMPLE 4

This example enables DA Multi-site on the local computer while naming the Multi-site deployment Company Enterprise and disabled the user from manually select entry points when using the Windows Server 2012 network connectivity assistant.

PS C:\> Enable-DAMultiSite -EntryPointName "Entry Point 1" -ManualSiteSelectionAllowed Disabled -Name "Company Enterprise" -PassThru -Force

関連トピック

Add-DAEntryPoint

Disable-DAMultiSite

Get-DAMultiSite

Set-DAMultiSite