Mount-AppvClientPackage

Aggiornamento: dicembre 2014

Si applica a: 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.

Sintassi

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>]




Descrizione dettagliata

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

Parametri

-Cancel

Indicates that the cmdlet stops the loading of a package.


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Name<String>

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


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Package<AppvClientPackage>

Not Specified.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue)

Accetta caratteri jolly?

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.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

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.


Alias

none

Obbligatorio?

false

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

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.


Alias

none

Obbligatorio?

true

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

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.

  • Microsoft.AppvAgent.AppvClientPackage

Output

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

  • Microsoft.AppvAgent.AppvClientPackage

Note

  • 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.

Esempi

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

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: