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

Unpublish-AppvClientPackage

Removes the extension points for packages.

Sintassi

Parameter Set: ByGuid
Unpublish-AppvClientPackage [-PackageId] <Guid> [-VersionId] <Guid> [-Global] [-UserSID <System.String> ] [ <CommonParameters>]

Parameter Set: ByName
Unpublish-AppvClientPackage [-Name] <String> [[-Version] <String> ] [-Global] [-UserSID <System.String> ] [ <CommonParameters>]

Parameter Set: ByPackage
Unpublish-AppvClientPackage [-Package] <AppvClientPackage> [-Global] [-UserSID <System.String> ] [ <CommonParameters>]




Descrizione dettagliata

The Unpublish-AppvClientPackage cmdlet removes all the extension points of the specified packages. The package contents remain on the target computer. The package is still added on the client and the appropriate AppvClientPackage object persists.

The package can be unpublished for the current user or if all users that log on to the target computer.

Parametri

-Global

Indicates that the packages are unpublished to all users that log into the targeted computer. Otherwise, the packages are only unpublished to the currently running user.


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 Microsoft Application Virtualization (App-V) Sequencer. The package ID is shared by all versions of a package.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-UserSID<System.String>

Specifies the SID of the intended user, in the form of S-1-2-34-56789012-3456789012-345678901-2345. This cmdlet parameter requires elevated rights to run.


Alias

none

Obbligatorio?

false

Posizione?

named

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 the latest version found.


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 paramater, the cmdlet operates on the latest version 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

Esempi

Example 1: Unpublish a version of a package

This command unpublishes version 3 of the package named MyApp.


PS C:\> Unpublish-AppvClientPackage -Name "MyApp" -Version 3

Example 2: Unpublish a version of a package for all users

This command unpublishes version 3 of the package named MyApp for all users on the computer.


PS C:\> Unpublish-AppvClientPackage -Name "Myapp" -Version 3 -Global

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: