Enable-O365User

Enables an office_365_2 account that is assigned to a local network user account.

Syntax

Enable-O365User
      [-LocalAccountName] <String>
      [<CommonParameters>]

Description

The Enable-O365User cmdlet enables an office_365_1 account that is assigned to a local network user account.

Examples

Example 1: Enable an office_365_2 accountoffice_365_2

PS C:\> Enable-O365User -LocalAccountName "PattiFuller"
The Office 365 account is enabled.

This command enables an office_365_2 account that is assigned to the local user account named PattiFuller.

1:

PS C:\>

Parameters

-LocalAccountName

Specifies the name of a local Active Directory user account. The cmdlet enables the office_365_2 account that is assigned to the local user account that you specify.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

LocalAccountName Type: System.String Description: local user name