mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 05:47:23 +00:00
Merge pull request #5451 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/windows-itpro-docs (branch public)
This commit is contained in:
commit
1584208ac8
@ -18,13 +18,13 @@ To configure assigned access (kiosk mode), you need the Application User Model I
|
|||||||
To get the names and AUMIDs for all apps installed for the current user, open a Windows PowerShell command prompt and enter the following command:
|
To get the names and AUMIDs for all apps installed for the current user, open a Windows PowerShell command prompt and enter the following command:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
get-StartApps
|
Get-StartApps
|
||||||
```
|
```
|
||||||
|
|
||||||
To get the names and AUMIDs for Windows Store apps installed for another user, open a Windows PowerShell command prompt and enter the following commands:
|
To get the names and AUMIDs for Windows Store apps installed for another user, open a Windows PowerShell command prompt and enter the following commands:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
$installedapps = get-AppxPackage
|
$installedapps = Get-AppxPackage
|
||||||
|
|
||||||
$aumidList = @()
|
$aumidList = @()
|
||||||
foreach ($app in $installedapps)
|
foreach ($app in $installedapps)
|
||||||
@ -75,12 +75,12 @@ function listAumids( $userAccount ) {
|
|||||||
elseif ($userAccount)
|
elseif ($userAccount)
|
||||||
{
|
{
|
||||||
# Find installed packages for the specified account. Must be run as an administrator in order to use this option.
|
# Find installed packages for the specified account. Must be run as an administrator in order to use this option.
|
||||||
$installedapps = get-AppxPackage -user $userAccount
|
$installedapps = Get-AppxPackage -user $userAccount
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
# Find installed packages for the current account.
|
# Find installed packages for the current account.
|
||||||
$installedapps = get-AppxPackage
|
$installedapps = Get-AppxPackage
|
||||||
}
|
}
|
||||||
|
|
||||||
$aumidList = @()
|
$aumidList = @()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user