windows:powershell:commands:get-appxpackage

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

windows:powershell:commands:get-appxpackage [2022/08/14 12:49] – 作成 ともやんwindows:powershell:commands:get-appxpackage [2022/08/14 13:02] (現在) ともやん
行 147: 行 147:
 </WRAP> </WRAP>
  
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<b class=GRN>$</b> <b class=YEL>sudo</b> powershell
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Windows PowerShell
 +Copyright (C) Microsoft Corporation. All rights reserved.
  
 +新しいクロスプラットフォームの PowerShell をお試しください https://aka.ms/pscore6
 +
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<b class=GRN>$</b> <b class=YEL>Import-Module</b> Appx
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<b class=GRN>$</b> <b class=YEL>Get-AppxPackage</b> *MicrosoftEdge* | <b class=YEL>Remove-AppxPackage</b> <b class=HIK>-AllUsers</b>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<b class=RED>Remove-AppxPackage : この要求はサポートされていません。
 +エラー 0x80070032: C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe からのパッケージ Mic
 +rosoft.MicrosoftEdge_44.18362.449.0_neutral__8wekyb3d8bbwe に対する AppX 展開 Remove 操作に失敗しま
 +した。このアプリは Windows の一部であるため、ユーザー単位でアンインストールすることはできません。管
 +理者は、[Windows の機能の有効化または無効化] を使用して、コンピューターからのアプリの削除を試みるこ
 +とができます。ただし、アプリをアンインストールできない場合もあります。
 +発生場所 行:1 文字:35
 ++ Get-AppxPackage *MicrosoftEdge* | Remove-AppxPackage -AllUsers
 ++                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 +    + CategoryInfo          : NotSpecified: (:) [Remove-AppxPackage], COMException
 +    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.P
 +   ackageManager.Commands.RemoveAppxPackageCommand
 +</b>
 +</pre></html></WRAP>
 +</WRAP>
  • windows/powershell/commands/get-appxpackage.txt
  • 最終更新: 2022/08/14 13:02
  • by ともやん