Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Clear-AssignedAccess

Clear-AssignedAccess

assignedaccess

Synopsis

Removes the user account from assigned access.

Syntax

Clear-AssignedAccess [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

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.

Parameters

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None.

Return Type

None.

Notes

None

Examples

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

Online Version
Get-AssignedAccess
Set-AssignedAccess