powershell Start-Service -Name AppXSvc 如果服务成功启动,你可以再次尝试运行你的 add-appxpackage 命令。如果服务无法启动,则继续下一步。 检查服务是否被禁用 如果服务无法启动,可能是因为它被禁用了。你可以使用以下命令检查服务的启动类型: powershell sc qc AppXSvc 在输出结果中,查找 START_TYPE 行。如...
PowerShell Copy Add-AppxPackage [-Path] <String> [-DependencyPath <String[]>] [-Register] [-DisableDevelopmentMode] [-ForceApplicationShutdown] [-WhatIf] [-Confirm] [<CommonParameters>]PowerShell Copy Add-AppxPackage [-Path] <String> [-DependencyPath <String[]>] [-ForceApplicationShut...
1. 在搜索栏中输入 "powershell",然后在结果中找到并点击 "Windows PowerShell"。点击后,系统会自动启动Powershell环境。2. 一旦Powershell环境启动,你就可以在新打开的窗口中输入 "add-appxpackage" 命令,然后按回车执行。Powershell会提供详细的命令使用帮助和执行结果。总结而言,"add-appxpackage"...
PowerShell Kopier Add-AppxPackage [-Register] -MainPackage <String> [-DependencyPackages <String[]>] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown] [-ForceUpdateFromAnyVersion] [-InstallAllResources] [-WhatIf] [-Confirm] [<CommonParameters>]...
PowerShell Commands Add-AppxPackage Add-AppxPackage [-DependencyPackages <String[]>] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown][-InstallAllResources] -MainPackage* <String> [-Register*] [-Confirm] [-WhatIf] [<CommonParameters>]...
你好,"add-appx"命令是一个PowerShell指令,非cmd命令。所以,你需要打开Powershell的管理员模式来运行...
PowerShell Add-AppxPackage[-Path] <String> [-DependencyPath <String[]>] [-RequiredContentGroupOnly] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown] [-ForceUpdateFromAnyVersion] [-RetainFilesOnFailure] [-InstallAllResources] [-Update] [-WhatIf] [-Confirm] [<CommonParameters>] ...
只能在Powershell下执行。先在命令提示符输入powershell,回车,再使用Add-AppxPackage.
PowerShell Add-AppxPackage[-Path] <String> [-DependencyPath <String[]>] [-RequiredContentGroupOnly] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown] [-ForceUpdateFromAnyVersion] [-RetainFilesOnFailure] [-InstallAllResources] [-Update] [-WhatIf] [-Confirm] [<CommonParameters>] ...
PowerShell Sao chép Add-AppxPackage [-RegisterByFamilyName] -MainPackage <String> [-DependencyPackages <String[]>] [-ForceApplicationShutdown] [-ForceTargetApplicationShutdown] [-InstallAllResources] [-OptionalPackages <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]...