首先,你需要以管理员身份打开PowerShell。这可以通过按住快捷键 Windows + X,然后从弹出的高级用户菜单中选择“Windows PowerShell(管理员)”来实现。 输入命令: 在PowerShell窗口中,输入命令 get-appxpackage 并按下回车键。 执行命令并查看输出结果: 执行该命令后,PowerShell将列出所有已安装
Windows PowerShell PowerShell 7 compatibility in Windows Server 2025 Cmdlet reference ActiveDirectory ADCSAdministration ADCSDeployment ADDSDeployment ADFS ADRMS ADRMSADMIN AppBackgroundTask AppLocker AppvClient AppvSequencer Appx Commands Add-AppSharedPackageContainer ...
PowerShell PS C:\>Get-AppxPackage-AllUsers Example 2: Get an app package for a specific a user This command displays information about Package17 if it is installed in the specified user profile. PowerShell PS C:\>Get-AppxPackage-Name"Package17"–User"Contoso\EvanNarvaez" ...
Get-AppxPackage is a PowerShell Cmdlet that gets a list of the app packages that are installed in a User Profile. This built-in command lets you to see what appx packages are installed on the current user profile, the app package has.msixor.appxfile name extension. To get the list of ...
PowerShell Másolás (Get-AppxPackage -Name "*ZuneMusic*" | Get-AppxPackageManifest).Package.CapabilitiesThis command gets the capabilities for an app package that has the string ZuneMusic in the name.Parameters-PackageSpecifies an AppxPackage object or the full name of a package. To get the...
PowerShell Copiar (Get-AppxPackage -Name "*ZuneMusic*" | Get-AppxPackageManifest).Package.CapabilitiesThis command gets the capabilities for an app package that has the string ZuneMusic in the name.Parameters-PackageSpecifies an AppxPackage object or the full name of a package. To get the ...
get-command-CommandType application|get-member 1. 我们看到输出的类型就ApplicationInfo 然后执行 get-command-CommandType application 1. 我们看到如下输出 我们会发现application 类型的command基本上都是指向C:\Windows\System32下的DLL和exe。 我们查看官方说明https://learn.microsoft.com/zh-cn/powershell/module/...
2. Run the Command with Elevated Privileges in PowerShell:Get-AppxPackage -AllUsers *MicrosoftSolitaireCollection* | Remove-AppxPackage If you continue to encounter issues, you can maybe try this: Get-AppxProvisionedPackage -Online | where DisplayName -eq "Microsoft Solita...
PowerShell PS C:\>Get-AppxPackage-AllUsers Example 2: Get an app package for a specific a user This command displays information about Package17 if it is installed in the specified user profile. PowerShell PS C:\>Get-AppxPackage-Name"Package17"–User"Contoso\EvanNarvaez" ...
2. Run the Command with Elevated Privileges in PowerShell:Get-AppxPackage -AllUsers *MicrosoftSolitaireCollection* | Remove-AppxPackage If you continue to encounter issues, you can maybe try this: Get-AppxProvisionedPackage -Online | where DisplayName -eq "Microsoft Solitai...