Enable-O365Integration

Enable-O365Integration

Enables the Integration Module.

構文

Parameter Set: Default
Enable-O365Integration [-O365AccountUPN] <String> [-Password] <SecureString> [ <CommonParameters>]

詳細説明

The Enable-O365Integration cmdlet enables integration between Windows Server Essentials and for an user. After you enable the Integration Module, you can manage user accounts and licenses from the dashboard.

パラメーター

-O365AccountUPN<String>

The Enable-O365Integration cmdlet enables integration between and for an user. After you enable the Integration Module, you can manage user accounts and licenses from the dashboard.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue)

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

false

-Password<SecureString>

Specifies the password, as a secure string, for the user that you specify in the O365AccountUPN parameter. To obtain a secure string, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

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

True (ByValue)

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

false

<CommonParameters>

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

入力

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

  • System.String,System.Security.SecureString

    O365AccountUPN
    Type: System.String
    Description: user principal name

    Password
    Type: System.Security.SecureString
    Description: user password

出力

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

Example 1: Enable the Office 365 Integration Module

The first command converts the plain text string "P@ssW0rD!" into a secure string and stores the result in the $SecureString_pwd variable.

The second command enables integration between Windows Server Essentials and for the user account named Admin@Contoso.onmicrosoft.com, and the password created in the previous command.

PS C:\> $SecureString_pwd = convertto-securestring "P@ssW0rD!" -Asplaintext -Force
PS C:\> Enable-O365Integration -O365AccountUPN "Admin@Contoso.onmicrosoft.com" -Password $SecureString_pwd

関連トピック

Disable-O365Integration