Enable-O365Integration
Enable-O365Integration
Enables the Integration Module.
Sintaxis
Parameter Set: Default
Enable-O365Integration [-O365AccountUPN] <String> [-Password] <SecureString> [ <CommonParameters>]
Descripción detallada
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.
Parámetros
-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.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
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
.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
System.String,System.Security.SecureString
O365AccountUPN
Type: System.String
Description: user principal namePassword
Type: System.Security.SecureString
Description: user password
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
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