Add -ProvisionedAppxPackage 命令允许管理员将 UWP 应用程序以 provisioned 的形式添加到 Windows 映像或已部署的系统中,确保应用程序在新用户登录或系统启动后自动存在。用法:以下是一个基本的命令格式:-Online 表示在当前在线操作系统上操作,而非针对脱机的系统映像。-PackagePath 必需参数,指定要预配的 ...
Add-AppxProvisionedPackage[-FolderPath <String>] [-PackagePath <String>] [-DependencyPackagePath <String[]>] [-OptionalPackagePath <String[]>] [-LicensePath <String[]>] [-SkipLicense] [-CustomDataPath <String>] [-Regions <String>] [-StubPackageOption <StubPackageOption>]-Path<String> [...
Add-WindowsPackage Clear-WindowsCorruptMountPoint Disable-WindowsOptionalFeature Dismount-WindowsImage Enable-WindowsOptionalFeature Get-AppxProvisionedPackage Get-WindowsDriver Get-WindowsEdition Get-WindowsImage Get-WindowsOptionalFeature Get-WindowsPackage ...
Adds an app package (.appx) that will install for each new user to a Windows image. Syntax PowerShell Add-AppxProvisionedPackage[-FolderPath <String>] [-PackagePath <String>] [-DependencyPackagePath <String[]>] [-OptionalPackagePath <String[]>] [-LicensePath <String[]>] [-SkipLicense]...
Add-AppxProvisionedPackage[-FolderPath <String>] [-PackagePath <String>] [-DependencyPackagePath <String[]>] [-OptionalPackagePath <String[]>] [-LicensePath <String[]>] [-SkipLicense] [-CustomDataPath <String>] [-Regions <String>] [-StubPackageOption <StubPackageOption>]-Path<String> [...
Add-AppxProvisionedPackage[-FolderPath<String>] [-PackagePath<String>] [-DependencyPackagePath<String[]>] [-LicensePath<String>] [-SkipLicense] [-CustomDataPath<String>] [-Online] [-WindowsDirectory<String>] [-SystemDrive<String>] [-LogPath<String>] ...
I've been meaning to look into using Add-AppxProvisionedPackage instead, but haven't had the time. If you have any additional information, I'd be glad to hear it.
1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %Store% -DependencyPackagePath %DepStore% -LicensePath Microsoft.WindowsStore_8wekyb3d8bbwe.xml for %%i in (%DepStore%) do ( %PScommand% Add-AppxPackage -Path %%i ...
1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %AppInstaller% -DependencyPackagePath %DepInstaller% -LicensePath Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.xml %PScommand% Add-AppxPackage -Path %AppInstaller% )
Get-AppxProvisionedPackage -Online | Select DisplayName, PackageName 删除指定的已置备应用 (以“人脉”为例,需要指定完整包名) remove-AppxProvisionedPackage -PackageName Microsoft.People_2020.324.807.0_neutral_~_8wekyb3d8bbwe -online 删除指定的已置备应用 ...