ConvertFrom-AppvLegacyPackage

Aggiornamento: agosto 2015

Si applica a: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3, Application Virtualization 5.1

ConvertFrom-AppvLegacyPackage

Converts App-V packages to the format for the current version of App-V.

Sintassi

Parameter Set: Default
ConvertFrom-AppvLegacyPackage [-SourcePath] <String[]> [[-DestinationPath] <String> ] [-DownloadFullPackageOnFirstLaunch] [-OSDsToIncludeInPackage <String[]> ] [ <CommonParameters>]




Descrizione dettagliata

The ConvertFrom-AppvLegacyPackage cmdlet converts Microsoft Application Virtualization (App-V) packages created by using an earlier version of App-V. This cmdlet converts packages to the format that works with the current version of App-V. The cmdlet returns all packages that it successfully converts, and it returns error or warning messages that it produces while it converts packages.

Parametri

-DestinationPath<String>

Specifies the folder where this cmdlet stores the converted packages.


Alias

OutputPath

Obbligatorio?

false

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-DownloadFullPackageOnFirstLaunch

Indicates that you should fully download the converted package before you start it, instead of streaming it.


Alias

FullLoad

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-OSDsToIncludeInPackage<String[]>

Specifies an array of Open Software Descriptors (OSDs) that contain information that this cmdlet includes in the converted App-V package.


Alias

OSDs

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

true (ByPropertyName)

Accetta caratteri jolly?

false

-SourcePath<String[]>

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


Alias

Path,PSPath

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

true (ByValue, ByPropertyName)

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

Esempi

Example 1: Convert a package

This command converts a single App-V package in a previous format to the current App-V format.


PS C:\> ConvertFrom-AppvLegacyPackage -SourcePath "C:\ContosoLegacyAppV" -DestinationPath "C:\ContosoAppV50"

Example 2: Convert all packages under a folder

The first command creates an empty array named $Packages.

The second command uses the ForEach Windows PowerShell® language command to check recursively for files that have an .sprj file name extension. The command stores all the folders that contain .sprj files in the $Packages array.

The final command converts each package stored in $Packages to the current App-V format.


PS C:\> $Packages = ,$Null
PS C:\> Foreach($x in (Get-ChildItem -recurse)) { if($x.FullName.EndsWith("sprj")) { $Packages += $x.PSParentPath } }
PS C:\> ConvertFrom-AppvLegacyPackage -SourcePath $Packages

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: