mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-15 18:33:43 +00:00
tweak note placement
This commit is contained in:
@ -180,10 +180,7 @@ When you build a provisioning package, you may include sensitive information in
|
|||||||
|
|
||||||
### Set up assigned access using Windows PowerShell
|
### Set up assigned access using Windows PowerShell
|
||||||
|
|
||||||
You can use any of the following PowerShell cmdlets to set up assigned access on multiple devices. Specify the app using the AUMID or AppName.
|
You can use any of the following PowerShell cmdlets to set up assigned access on multiple devices.
|
||||||
|
|
||||||
- [Learn how to get the AUMID](http://go.microsoft.com/fwlink/p/?LinkId=614867).
|
|
||||||
- [Learn how to get the AppName](https://msdn.microsoft.com/en-us/library/windows/hardware/mt620046%28v=vs.85%29.aspx) (see **Parameters**).
|
|
||||||
|
|
||||||
To open PowerShell on Windows 10, search for PowerShell and find **Windows PowerShell Desktop app** in the results. Run PowerShell as administrator.
|
To open PowerShell on Windows 10, search for PowerShell and find **Windows PowerShell Desktop app** in the results. Run PowerShell as administrator.
|
||||||
|
|
||||||
@ -198,14 +195,16 @@ Set-AssignedAccess -AppUserModelId <AUMID> -UserSID <usersid>
|
|||||||
```
|
```
|
||||||
Set-AssignedAccess -AppName <CustomApp> -UserName <username>
|
Set-AssignedAccess -AppName <CustomApp> -UserName <username>
|
||||||
```
|
```
|
||||||
> **Note:** To set up assigned access using `-AppName`, the user account that you specify for assigned access must have logged on at least once.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
Set-AssignedAccess -AppName <CustomApp> -UserSID <usersid>
|
Set-AssignedAccess -AppName <CustomApp> -UserSID <usersid>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note:** To set up assigned access using `-AppName`, the user account that you specify for assigned access must have logged on at least once.
|
||||||
[Learn how to get the AUMID](http://go.microsoft.com/fwlink/p/?LinkId=614867).
|
[Learn how to get the AUMID](http://go.microsoft.com/fwlink/p/?LinkId=614867).
|
||||||
|
|
||||||
|
[Learn how to get the AppName](https://msdn.microsoft.com/en-us/library/windows/hardware/mt620046%28v=vs.85%29.aspx) (see **Parameters**).
|
||||||
|
|
||||||
[Learn how to get the SID](http://go.microsoft.com/fwlink/p/?LinkId=615517).
|
[Learn how to get the SID](http://go.microsoft.com/fwlink/p/?LinkId=615517).
|
||||||
|
|
||||||
To remove assigned access, using PowerShell, run the following cmdlet.
|
To remove assigned access, using PowerShell, run the following cmdlet.
|
||||||
|
Reference in New Issue
Block a user