Get-AssignedAccess

Get-AssignedAccess

Retrieves the current configuration for assigned access.

Syntax

Get-AssignedAccess [ <CommonParameters>]

Detailed Description

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

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None.

    You cannot pipe input to this cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None.

    This cmdlet does not generate any output.

Examples

EXAMPLE 1

This example shows how to retrieve the current 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

Set-AssignedAccess

Clear-AssignedAccess