Clear-AssignedAccess
Clear-AssignedAccess
Removes the user account from assigned access.
Sintassi
Clear-AssignedAccess [-Confirm] [-WhatIf] [ <CommonParameters>]
Descrizione dettagliata
The Clear-AssignedAccess cmdlet removes the user account from assigned access and returns the user to default settings.
If a user is signed in or the PC has a PS/2 keyboard, you must restart the computer to apply the changes.
Parametri
-Confirm
Richiede conferma prima di eseguire il cmdlet.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-WhatIf
Mostra gli effetti dell'esecuzione del cmdlet. Il cmdlet non viene eseguito.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
None.
You cannot pipe input to this cmdlet.
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
None.
This cmdlet does not generate any output.
Esempi
EXAMPLE 1
This example shows how to remove the user account from assigned access and return the user to default settings.
PS C:\> Clear-AssignedAccess