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

Unpublish-AppvClientPackage

Removes the extension points for packages.

Syntax

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




Detaillierte Beschreibung

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.

Parameter

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


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


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.


Aliasse

none

Erforderlich?

false

Position?

named

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


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

Beispiele

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

Verwandte Themen

Community-Beiträge

HINZUFÜGEN
Anzeigen: