mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-29 05:37:22 +00:00
Minor update to packaged app rules doc
Previous instructions were unclear
This commit is contained in:
parent
aacd382326
commit
6de3ca527a
@ -65,8 +65,10 @@ Below are the list of steps you can follow to block one or more packaged apps in
|
|||||||
1. Get the app identifier for an installed package
|
1. Get the app identifier for an installed package
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
$package = Get-AppxPackage -name <example_app>
|
$package = Get-AppxPackage -name *<example_app>*
|
||||||
```
|
```
|
||||||
|
Where the name of the app is surrounded by asterisks, for example *windowsstore*
|
||||||
|
|
||||||
2. Make a rule by using the New-CIPolicyRule cmdlet
|
2. Make a rule by using the New-CIPolicyRule cmdlet
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user