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

Publish-AppvClientPackage

Publishes the App-V package so that it is available to a user or a computer.

Syntax

Parameter Set: ByGuid
Publish-AppvClientPackage [-PackageId] <Guid> [-VersionId] <Guid> [[-DynamicUserConfigurationPath] <String> ] [-DynamicUserConfigurationType <DynamicUserConfiguration> {UseDeploymentConfiguration | UseExistingConfiguration | UseNoConfiguration} ] [-Global] [-UserSID <System.String> ] [ <CommonParameters>]

Parameter Set: ByName
Publish-AppvClientPackage [-Name] <String> [[-Version] <String> ] [-DynamicUserConfigurationPath <String> ] [-DynamicUserConfigurationType <DynamicUserConfiguration> {UseDeploymentConfiguration | UseExistingConfiguration | UseNoConfiguration} ] [-Global] [-UserSID <System.String> ] [ <CommonParameters>]

Parameter Set: ByPackage
Publish-AppvClientPackage [-Package] <AppvClientPackage> [[-DynamicUserConfigurationPath] <String> ] [-DynamicUserConfigurationType <DynamicUserConfiguration> {UseDeploymentConfiguration | UseExistingConfiguration | UseNoConfiguration} ] [-Global] [-UserSID <System.String> ] [ <CommonParameters>]




Detaillierte Beschreibung

The Publish-AppvClientPackage cmdlet publishes the appropriate extension points of a set of Microsoft Application Virtualization (App-V) packages. Examples of common extension points include shortcuts and FTAs. You can publish the package to the current user or to all users that log into the targeted computer. You can also provide a Dynamic User Configuration file for the package.

Parameter

-DynamicUserConfigurationPath<String>

Specifies the path to a Dynamic User configuration file for the specified App-V package to be added. The cmdlet uses the Dynamic User Configuration file to override the default behavior provided in the user section of the package manifest or the Dynamic Deployment Configuration.


Aliasse

none

Erforderlich?

false

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DynamicUserConfigurationType<DynamicUserConfiguration>

Specifies what should be done in the absence of a defined dynamic user configuration file. Valid values are:

-- UseDeploymentConfiguration. The package uses the user configuration portion of deployment configuration.
-- UseNoConfiguration. Clear any previous configuration and use settings from the manifest.
-- UseExistingConfiguration. Make no changes to the configuration and use the last published configuration.

If you do not specify this parameter, this cmdlet uses UseExistingConfiguration if the package is already published or UseDeploymentConfiguration if it is not.

Use this parameter only during user publishing. It is not valid for global publish.


Aliasse

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Global

Indicates that the provided package is published to all users that log into the targeted computer. Otherwise, the packages are only published to the currently running user.


Aliasse

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Name<String>

Specifies the name of the package given when it was sequenced. 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 identifies the package. The information can be found in the package manifest or by opening the package in the 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 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 a lineage. If you do not specify this parameter, the cmdlet operates on the latest of the package on the computer running the App-V client.


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. If you do not specify this parameter, the cmdlet operateson 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.

Beispiele

Example 1: Publish a version of a package to all users

This command publishes version 1 of the package named MyApp to all users on the computer and applies the Dynamic User Configuration policy file.


PS C:\> Publish-AppvClientPackage -Name "MyApp" -Version 1 -Global -DynamicUserConfiguration "C:\content\policies\MyApp.policy"

Example 2: Publish a version of a package to a user

This command publishes version 1 of the package named "MyApp" to the user and applies the Dynamic User Configuration policy file.


PS C:\> Publish-AppvClientPackage -Name "MyApp" -Version 1 -UserPolicy "C:\content\policies\MyAppConfiguration.xml"

Example 3: Publish the latest version of a package to all users

This command publishes the package named MyApp to all users on the computer.


PS C:\> Publish-AppvClientPackage -Name "MyApp" -Global

Verwandte Themen

Community-Beiträge

HINZUFÜGEN
Anzeigen: