Get-MSDeploymentUnits
Get groups of Deployment Units. The results can be edited and fed back into Update-MSDeploymentUnits to apply bulk updates
Syntax
Get-MSDeploymentUnits -DeployUnitIds (Array) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -All [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -My [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -BlueprintId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -BlueprintPath (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -BlueprintFolderId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -BlueprintFolderPath (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -ProcessId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -ProcessName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -SubProcessId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -SubProcessName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -DeployUnitId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -DeployUnitName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -Archived [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -Locked [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -Deleted [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -DropdownValue (String) -Dropdown (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSDeploymentUnits -TeamMemberName (String) -TeamMemberType (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Examples
## Get a list of known Deployment Units by their Ids
Get-MSDeploymentUnits -Ids @(1000,1001,1002)
## Get a list of Deployment Units in a Blueprint
Get-MSDeploymentUnits -BlueprintPath "Departments\Operations\Purchasing"
## Get a list of Deployment Units in the 'Scheduling' Process
Get-MSDeploymentUnits -ProcessName "3. Scheduling"
## Get a list of Locked, Archived, or Deleted Deployment Units
Get-MSDeploymentUnits -Locked
Get-MSDeploymentUnits -Archived
Get-MSDeploymentUnits -Deleted
## Get a count of ALL Deployment Units in database
(Get-MSDeploymentUnits -All).Count