New-MSDeploymentUnits
Create new Deployment Unit record(s)
Syntax
New-MSDeploymentUnits -DeployUnit (String) -TargetModule (String) [-ShortLocation (String)] [-Process (String)] [-SubProcess (String)] [-BatchSize (Int32)]
New-MSDeploymentUnits -DeployUnits (Array) [-DontMatchOnDeployUnitId] [-DontMatchOnDeployUnitName] [-DontMatchOnLegacyId] [-LookupOnly] [-BatchSize (Int32)]
Examples
## Create a new Deployment Unit with DeployUnit "APITesterDU", TargetModule "UserMigrations", ShortLocation "APITesterDULoc". Assign to the "2. Populating\Populating" process/sub-process and return the new DU Id.
(New-MSDeploymentUnits -DeployUnit "APITesterDU" -TargetModule "UserMigrations" -ShortLocation "APITesterDULoc" -Process "2. Populating" -SubProcess "Populating").Id