Get-MSDeploymentUnitsCustomFields

Get Custom Fields from DeploymentUnits.

Syntax


Get-MSDeploymentUnitsCustomFields -DeployUnitIds (Int32[]) [-Full] [-PreviousValue] [-IncludeBlanks] -FieldIds (Array)

Get-MSDeploymentUnitsCustomFields -DeployUnitIds (Int32[]) [-Full] [-PreviousValue] [-IncludeBlanks] -FieldPaths (Array)

Get-MSDeploymentUnitsCustomFields -DeployUnitIds (Int32[]) [-Full] [-PreviousValue] [-IncludeBlanks] -SectionIds (Array)

Get-MSDeploymentUnitsCustomFields -DeployUnitIds (Int32[]) [-Full] [-PreviousValue] [-IncludeBlanks] -SectionPaths (Array)

Get-MSDeploymentUnitsCustomFields -DeployUnitIds (Int32[]) [-Full] [-PreviousValue] [-IncludeBlanks] -CustomFormNames (Array)

Examples


## By Custom Form Field Ids
Get-MSDeploymentUnitsCustomFields -FieldIds @(275, 276, 277, 1,2, 3,4,5,6,7,8) -DeployUnitIds @(8075, 8585, 8022, 1000, 8633) -PreviousValue

## By Custom Form Paths
Get-MSDeploymentUnitsCustomFields -FieldPaths @("DeploymentUnitDiscovery\Rationalisation\Last Checked", "DeploymentUnitDiscovery\Rationalisation\Candidate for Rejection") -DeployUnitIds @(8075, 8585, 8022, 1000, 8633)

## By Custom Form Section Ids
Get-MSDeploymentUnitsCustomFields -SectionIds @(1, 2) -DeployUnitIds @(8075, 8585, 8022, 1000, 8633)

## By Custom Form Section Paths
Get-MSDeploymentUnitsCustomFields -SectionPaths @("DeploymentUnitDiscovery\Rationalisation") -DeployUnitIds @(8075, 8585, 8022, 1000, 8633)

## By Custom Form Names
Get-MSDeploymentUnitsCustomFields -CustomFormNames @("dudsc") -DeployUnitIds @(8075, 8585, 8022, 1000, 8633)

## Pipe Ids in to the Get function
Get-MSDeploymentUnits -All -IdsOnly -Take 10 | Get-MSDeploymentUnitsCustomFields -FieldIds @(275, 276, 277, 1,2, 3,4,5,6,7,8) -PreviousValue -IncludeBlanks