Set-AppvZeroPortalPackageDeploymentConfiguration

Imports or replaces the deployment configuration (machine policy) of a package.

Syntax

Set-AppvZeroPortalPackageDeploymentConfiguration -Name <string> [-Version <string>] -PackageID <Guid> [-VersionID <Guid>] -PackageGuid <Guid> -VersionGuid <Guid> -XmlPath <string> -XmlContent <string>

Parameters

-XmlPath <string>

Path to a DeploymentConfiguration XML file.

-XmlContent <string>

XML content as string (alternative to XmlPath).

Examples

Set-AppvZeroPortalPackageDeploymentConfiguration -Name "Office*" -XmlPath 'C:\Configs\Deploy.xml'
Get-AppvZeroPortalPackage "Office*" | Set-AppvZeroPortalPackageDeploymentConfiguration -XmlPath 'C:\Configs\Deploy.xml'