Site icon TOSS

New-AppvPackageAccelerator

powershell

New-AppvPackageAccelerator is accessible with the help of AppvSequencer module. To install AppvSequencer, go through this link.

Synopsis

Generates a package accelerator.

Description

The New-AppvPackageAccelerator cmdlet generates a package accelerator object. It accepts an existing Application Virtualization (App-V) 5.0 package file along with the appropriately installed files or installation media. The cmdlet then generates a package accelerator file.

Parameters

-AcceleratorDescriptionFile

Specifies the package accelerator description file.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-InputPackagePath

Specifies the path to the App-V package used as input to generate the accelerator from.

Type:String
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-InstalledFilesPath

Specifies the path to the folder containing the directory where the package is installed to, to generate an accelerator for.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Installer

Specifies the path to the folder of the application installer to generate an accelerator from. The installer must be of the format msi, or cab, or zip. If you do not have an installer of this format, use the InstalledFilesPath parameter instead.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Path

Specifies the full path to the .cab package accelerator output file.

Type:String
Aliases:OutputPath
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Syntax

New-AppvPackageAccelerator [-InputPackagePath] <String> [-Installer] <String> [-AcceleratorDescriptionFile <String>] [-Path] <String> [<CommonParameters>]

New-AppvPackageAccelerator [-InputPackagePath] <String> [-InstalledFilesPath] <String> [-AcceleratorDescriptionFile <String>] [-Path] <String> [<CommonParameters>]

——————-Example 1——————-
Create a package accelerator
PS C:\> New-AppvPackageAccelerator -AppvPackageFilePath “C:\VPackages\Package1\Package1.appv” -Installer “C:\VPackages\Package1” -OutputPath “C:\Output\packages\Package1.cab”
This command creates a package accelerator using an installer folder containing, for example, MSI installers.

——————-Example 2——————-
Create a package accelerator with instruction sheet
PS C:\> New-AppvPackageAccelerator -AppvPackageFilePath “C:\VPackages\Package1\Package1.appv” -InstalledFilesPath “C:\Program Files\Package1InstallFolder” -OutputPath “C:\Output\packages\Package1.cab” -AcceleratorDescriptionFilePath “C:\VPackages\Package1\Package1Description.rtf”
This command creates a package accelerator and inserts an instruction sheet on how to accelerate package.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command New-AppvPackageAccelerator

You can also read about

To know more PowerShell cmdlets(Commands) on AppvSequencer click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Exit mobile version