Test-AppvLegacyPackage

Validates App-V packages for conversion.

Syntax

Test-AppvLegacyPackage
    [-SourcePath] <String[]>
    [<CommonParameters>]

Description

The Test-AppvLegacyPackage cmdlet performs basic validation on Microsoft Application Virtualization (App-V) packages created by using an earlier version of App-V. This cmdlet tests whether packages are compatible for conversion to the current App-V package format.

This cmdlet performs only basic validation, such as making sure that all files are present, and that the ConvertFrom-AppvLegacyPackage cmdlet supports the package version. This validation does not guarantee success of a package conversion.

Examples

Example 1: Validate a package for conversion

PS C:\>Test-AppvLegacyPackage -SourcePath "C:\ContosoLegacyAppV"

This command validates whether an App-V package is compatible for conversion to the current App-V package format.

Parameters

-SourcePath

Specifies an array of folders for the App-V packages that this cmdlet validates.

Type:String[]
Aliases:Path, PSPath
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False