Update-AppvSequencerPackage
Update-AppvSequencerPackage is accessible with the help of AppvSequencer module. To install AppvSequencer, go through this link.
Synopsis
Upgrades virtual application packages.
Description
The Update-AppvSequencerPackage cmdlet upgrades virtual application packages. It takes as an input the original package, the upgrade installer, and an output path. The cmdlet returns a package that is upgraded.
Parameters
-FullLoad
Indicates that the cmdlet forces the package to be fully downloaded onto the computer before it can be launched.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputPackagePath
Specifies the path of the existing Microsoft Application Virtualization (App-V) package to upgrade.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Installer
Specifies the installer used to upgrade the App-V package.
Type: | String |
Position: | 4 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the friendly name of the package given during Sequencing time. This value is obtained from the package manifest.
Type: | String |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Path
Specifies the path of the folder where the updated package is to be saved.
Type: | String |
Aliases: | OutputPath |
Position: | 2 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Syntax
Update-AppvSequencerPackage [-FullLoad] [-InputPackagePath] <String> [-Installer] <String> [-Name] <String> [-Path] <String> [<CommonParameters>]
——————-Example 1——————-
Update an application
PS C:\> Update-AppvSequencerPackage -AppvPackageFilePath “C:\Packages\VPackage.appv” -Installer “C:\PackageInstall\PackageUpgrade.exe” -OutputPath “C:\UpgradedPackages”
This command updates an application, changing the output path.
——————-Example 2——————-
Update an application and require package to be fully loaded
PS C:\> Update-AppvSequencerPackage -AppvPackageFilePath “C:\Packages\VPackage.appv” -Installer “C:\PackageInstall\PackageUpgrade.exe” -OutputPath “C:\UpgradedPackages” -FullLoad
This command updates an application, and sets the package to be fully loaded.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Update-AppvSequencerPackage
You can also read about