Enable-WssMsoIntegration

Enable-WssMsoIntegration

Enables integration.

構文

Parameter Set: Default
Enable-WssMsoIntegration [-MsoUserName] <String> [-Password] <SecureString> [[-Force]] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Enable-WssMsoIntegration cmdlet enables integration between Windows Server Essentials and . You must integrate these two products before you can further integrate Windows Server Essentials with and .

パラメーター

-Force

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

エイリアス

なし

必須?

false

位置は?

3

既定値

なし

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

false

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

false

-MsoUserName<String>

Specifies the user principal name (UPN) of the account with administrator permissions that is to be used to manage the online user accounts.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue, ByPropertyName)

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

false

-Password<SecureString>

Specifies a password for a user, as a secure string. To obtain a secure string, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. The password that you specify belongs to the online service account specified by the MsoUserName parameter.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

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

True (ByPropertyName)

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

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)。

入力

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

  • System.String

    The MsoUserName in UPN form for the administrator account to be used to administer the online user accounts.

出力

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

Example 1: Enable integration

This example enables integration between Windows Server Essentials and . To enable integration, supply an online service account and a secure string that contains the password for that account.

The first command creates a secure string by using the ConvertTo-SecureString cmdlet, and then stores it in the $Password variable. For more information, type Get-Help ConvertTo-SecureString.

The second command enables integration. The command specifies the UPN of the online service account and the password stored in the $Password variable.

PS C:\> $Password = ConvertTo-SecureString "PassWord1" -AsPlainText -Force 
PS C:\> Enable-WssMsoIntegration -MsoUserName "PattiFuller@TSQA.Contoso.com" -Password $Password

関連トピック

Disable-WssMsoIntegration

ConvertTo-SecureString