Enable-WssMsoIntegration

Enable-WssMsoIntegration

Enables integration.

Syntax

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

Detailed Description

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 .

Parameters

-Force

Forces the command to run without asking for user confirmation.

Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

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.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String

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

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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