Get-AppvZeroPortalPackageDeploymentConfiguration
Returns the deployment configuration (machine policy) of a package.
Syntax
Get-AppvZeroPortalPackageDeploymentConfiguration -Name <string> [-Version <string>] -PackageID <Guid> [-VersionID <Guid>] -PackageGuid <Guid> -VersionGuid <Guid>
Beschreibung
Equivalent to Get-AppvServerPackageDeploymentConfiguration. Returns the custom deployment config if set, otherwise falls back to the manifest default.
Beispiele
Get-AppvZeroPortalPackageDeploymentConfiguration -Name "SSMS*"
Get-AppvZeroPortalPackage "Office*" | Get-AppvZeroPortalPackageDeploymentConfiguration
$cfg = Get-AppvZeroPortalPackageDeploymentConfiguration -PackageID '...'
$cfg.Xml | Set-Content 'C:\Temp\DeployConfig.xml' -Encoding UTF8