ConvertFrom-AppvLegacyPackage

Letzte Aktualisierung: August 2015

Betrifft: 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.

Syntax

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




Detaillierte Beschreibung

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.

Parameter

-DestinationPath<String>

Specifies the folder where this cmdlet stores the converted packages.


Aliasse

OutputPath

Erforderlich?

false

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DownloadFullPackageOnFirstLaunch

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


Aliasse

FullLoad

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-OSDsToIncludeInPackage<String[]>

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


Aliasse

OSDs

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

true (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-SourcePath<String[]>

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


Aliasse

Path,PSPath

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

true (ByValue, ByPropertyName)

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

Beispiele

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

Verwandte Themen

Community-Beiträge

HINZUFÜGEN
Anzeigen: