Mount-AppvClientPackage

Letzte Aktualisierung: Dezember 2014

Betrifft: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3

Mount-AppvClientPackage

Loads a package into the App-V cache.

Syntax

Parameter Set: ByGuid
Mount-AppvClientPackage [-PackageId] <Guid> [-VersionId] <Guid> [-Cancel] [ <CommonParameters>]

Parameter Set: ByName
Mount-AppvClientPackage [-Name] <String> [[-Version] <String> ] [ <CommonParameters>]

Parameter Set: ByPackage
Mount-AppvClientPackage [-Package] <AppvClientPackage> [-Cancel] [ <CommonParameters>]




Detaillierte Beschreibung

The Mount-AppvClientPackage cmdlet initiates or resumes the loading of an Microsoft Application Virtualization (App-V) package into the cache.

Parameter

-Cancel

Indicates that the cmdlet stops the loading of a package.


Aliasse

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Name<String>

Specifies the friendly name of the package given during sequencing time. This value is obtained from the package manifest.


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Package<AppvClientPackage>

Not Specified.


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

True (ByValue)

Platzhalterzeichen akzeptieren?

false

-PackageId<Guid>

Specifies a GUID that uniquely identifies the package. It can be found in the package manifest or by opening the package in the App-V Sequencer. The package IDs are shared by all versions of a specific package.


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Version<String>

Specifies the version of an App-V package in one specific lineage. If you do not specify this parameter, the cmdlet operates on all versions on the computer.


Aliasse

none

Erforderlich?

false

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-VersionId<Guid>

Specifies a GUID that differentiates a package version from other versions, whether older, newer, or of a completely different lineage. If you do not specify this parameter, the cmdlet operates on all versions of the package.


Aliasse

none

Erforderlich?

true

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

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.

  • Microsoft.AppvAgent.AppvClientPackage

Ausgaben

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

  • Microsoft.AppvAgent.AppvClientPackage

Hinweise

  • If a previous mount has been cancelled, the cmdlet resumes that mount when run again. The package must be added to the system before mounting, otherwise the cmdlet fails. If you do not specify any parameters, the cmdlet mounts all packages on the system.

  • This cmdlet is synchronous. It will return once the mount option has completed. To make the cmdlet asynchronous, use the Start-Job cmdlet.

Beispiele

Example 1: Get a specific version of a package

This command downloads the version 2 of the package named MyApp.


PS C:\> Mount-AppvClientPackage -Name "MyApp" -Version 2

Example 2: Get all versions of a package

This command downloads the all versions of the package named MyApp.


PS C:\> Mount-AppvClientPackage -Name "MyApp"

Example 3: Download all packages that match a string

This command gets all packages that have the string My in the name, and then download them.


PS C:\> Get-AppvClientPackage -Name "My*" | Mount-AppvClientPackage

Example 4: Download and publish a new package

This command adds the package from the path specified, then downloads it, and then publishes it to all users on the computer.


PS C:\> Add-AppvClientPackage -Path "http://MyServer/content/package.Appv" | Mount-AppvClientPackage | Publish-AppvClientPackage -Global

Example 5: Cancel a download

This command cancels the download of the package name MyApp.


PS C:\> Mount-AppvClientPackage -Name "MyApp" -Cancel

Verwandte Themen

Anzeigen: