Get-AssignedAccess
Get-AssignedAccess
Retrieves the current configuration for assigned access.
語法
Get-AssignedAccess [ <CommonParameters>]
詳細描述
The Get-AssignedAccess cmdlet retrieves the current configuration for assigned access, including the user name, user SID, app friendly name, and app ID.
參數
<CommonParameters>
此 Cmdlet 支援一般參數:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 與 -OutVariable。如需詳細資訊,請參閱 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
輸入
輸入類型是您可以使用管線處理方式傳遞給 Cmdlet 的物件類型。
None.
You cannot pipe input to this cmdlet.
輸出
輸出類型是 Cmdlet 所發出的物件類型。
None.
This cmdlet does not generate any output.
範例
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