Clear-O365AssignedUser

Clears the assignment of an office_365_2 account to a local network user account.

Syntax

Clear-O365AssignedUser
     [-LocalAccountName] <String>
     [<CommonParameters>]

Description

The Clear-O365AssignedUser cmdlet clears the assignment of an office_365_1 account to a local user account.

Examples

Example 1 Clear the assignment of an office_365_2 account to a local user accountoffice_365_2

PS C:\> Clear-O365AssignedUser -LocalAccountName "PattiFuller"

This command clears the assignment of the office_365_2 account to the local network user account named PattiFuller.

1:

PS C:\>

Parameters

-LocalAccountName

Specifies the name of a local Active Directory user account. The cmdlet clears the assignment of the office_365_2 account 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