Microsoft AppvClient reference: Publishes the App-V package. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Use an account with the target resource permissions documented for Publish-AppvClientPackage. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Supported environments
Windows / AppvClient · Windows Server 2025 documentation; feature/module prerequisites apply
Parameters
-DynamicUserConfigurationPath
Specifies the path of a Dynamic User configuration file for the specified App-V package to be added. The cmdlet uses the Dynamic User Configuration file to override the default behavior provided in the user section of the package manifest or the Dynamic Deployment Configuration.
-DynamicUserConfigurationType
Specifies what should be done without a defined dynamic user configuration file. The acceptable values for this parameter are: - UseDeploymentConfiguration. The package uses the user configuration part of deployment configuration. - UseNoConfiguration. Clear any previous configuration and use settings from the manifest. - UseExistingConfiguration. Make no changes to the configuration and use the last published configuration. If you do not specify this parameter, this cmdlet uses UseExistingConfiguration if the package is already published or UseDeploymentConfiguration if it is not. Use this parameter only during user publishing. It is not valid for global publish.
-Global
Indicates that the provided package is published to all users that log into the targeted computer. Otherwise, the packages are only published to the currently running user.
-Name (required)
Specifies the name of the package given when it was sequenced. This value is obtained from the package manifest.
-Package (required)
Specifies an App-V package.
-PackageId (required)
Specifies a GUID that identifies the package. The information can be found in the package manifest or by opening the package in the App-V sequencer. The package ID is shared by all versions of a package.
-UserSID
Specifies the SID of the intended user, in the form of S-1-2-34-56789012-3456789012-345678901-2345. This parameter requires elevated rights to run.
-Version
Specifies the version of an App-V package in a lineage. If you do not specify this parameter, the cmdlet operates on the latest of the package on the computer running the App-V client.
-VersionId (required)
Specifies a GUID that differentiates a package version from other versions. If you do not specify this parameter, the cmdlet operates on the latest version of the package.
Prerequisites
Windows with the AppvClient module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
Security considerations
This cmdlet changes system state. Review every target and parameter in the official reference, test outside production, and prepare an appropriate backup or rollback. Do not execute the example automatically.
Examples
Example 3: Publish the latest version of a package to all users
Publish-AppvClientPackage -Name "MyApp" -Global
This command publishes the package named MyApp to all users on the computer. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.