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

Remove-AppvClientPackage

Removes the package from a computer.

Sintassi

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

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

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




Descrizione dettagliata

The Remove-AppvClientPackage cmdlet removes the package from computer running the Microsoft Application Virtualization (App-V) client. The cmdlet deletes the AppvClientPackage object.

Parametri

-Name<String>

Specifies the friendly name of the package given during sequencing. 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 the package ID that uniquely identifies the package. It can be found in the package manifest or by opening the package in the sequencer. The package ID is 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 a 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.

Esempi

Example 1: Remove a version of a package by using the pipeline operator

This command gets version 1 of the package named MyPackage, and then removes it from the computer.


PS C:\> Get-AppvPackage -Name "MyPackage" -Version 1 | Remove-Package

Example 2: Remove a version of a package

This command removes version 1 of the package named MyPackage from the computer.


PS C:\> Remove-Package -Name "MyPackage" -Version 1

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: