Clear-O365AssignedUser
Clear-O365AssignedUser
Clears the assignment of an account to a local network user account.
Sintaxis
Parameter Set: Default
Clear-O365AssignedUser [-LocalAccountName] <String> [ <CommonParameters>]
Descripción detallada
The Clear-O365AssignedUser cmdlet clears the assignment of an account to a local user account.
Parámetros
-LocalAccountName<String>
Specifies the name of a local Active Directory user account. The cmdlet clears the assignment of the account to the local user account that you specify.
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
LocalAccountName
Type: System.String
Description: local user name
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1 Clear the assignment of an office_365_2 account to a local user account
This command clears the assignment of the account to the local network user account named PattiFuller.
PS C:\> Clear-O365AssignedUser -LocalAccountName "PattiFuller"
PS C:\>