Modifier

Partager via


Get-AssignedAccess

Gets the current configuration for assigned access.

Syntax

Get-AssignedAccess []

Description

The Get-AssignedAccess cmdlet gets the current configuration for assigned access, including the user name, user SID, app friendly name, and app ID.

Assigned Access cmdlets are supported on Windows 10 and Windows 11 client operating systems only.

Examples

Example 1: Get the configuration for assigned access

PS C:\> Get-AssignedAccess

User Name: MYPC\UserName
User SID:  S-1-5-21-594534509-2542345234-234523453-1004
AUMID:     Microsoft.Media.PlayReadyClient_2.3.1678.0_x64__8wekyb3d8bbwe
App Name:  Microsoft.Media.PlayReadyClient

This command gets the current configuration for assigned access.

Inputs

None.

You cannot pipe input to this cmdlet.

Outputs

None.

This cmdlet does not generate any output.