Skip to content

Commit ccdcae9

Browse files
authored
Update Get-AppxPackage.md
Added new commands Get-AppxPackage -Name Microsoft.ScreenSketch Get-AppxPackage -Publisher "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" Get-AppxPackage -PackageTypeFilter Bundle Get-AppxPackage -PackageTypeFilter Framework Get-AppxPackage -PackageTypeFilter Main Get-AppxPackage -PackageTypeFilter Resource The above commands are worked in windows 11 22h2 build no 22621.2361P
1 parent a518659 commit ccdcae9

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docset/winserver2022-ps/appx/Get-AppxPackage.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,34 @@ Get-AppxPackage -Name "Package17" -User "Contoso\EvanNarvaez"
4747
This command displays information about `Package17` if it's installed in the specified user
4848
profile.
4949

50+
### Example 3: Get a particular app package information
51+
52+
```powershell
53+
Get-AppxPackage -Name Microsoft.ScreenSketch
54+
```
55+
56+
This command gives information about the ScreenSketch app.
57+
58+
59+
### Example 4: Get all app packages for a particular Publisher
60+
61+
```powershell
62+
Get-AppxPackage -Publisher "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
63+
```
64+
65+
This command lists all the app packages that are installed from Microsoft Corporation on the computer.
66+
67+
### Example 5: Get all app packages with PackageTypeFilter
68+
69+
```powershell
70+
Get-AppxPackage -PackageTypeFilter Bundle
71+
Get-AppxPackage -PackageTypeFilter Framework
72+
Get-AppxPackage -PackageTypeFilter Main
73+
Get-AppxPackage -PackageTypeFilter Resource
74+
```
75+
76+
This command lists all the app packages with PackageTypeFilter installed on the computer.
77+
5078
## PARAMETERS
5179

5280
### -AllUsers

0 commit comments

Comments
 (0)