Update-MSDeployUnitAutoScheduleMigrations
Automatically schedule Ids into Migration Slots for a Deployment Unit
Syntax
Update-MSDeployUnitAutoScheduleMigrations -Module (String) -InstanceIds (Int32[]) [-ScheduleFrom (Nullable`1)] [-ScheduleTo (Nullable`1)] [-FillPercent (Int32)] [-OverwriteCurrentSlot (Boolean)]
Update-MSDeployUnitAutoScheduleMigrations -DeployUnitIds (Int32[]) [-ScheduleFrom (Nullable`1)] [-ScheduleTo (Nullable`1)] [-FillPercent (Int32)] [-OverwriteCurrentSlot (Boolean)]
Examples
## Add MigrationIds 13987, 14102, 15325 to any available Migration Slot in Deployment Unit Id 1096
Update-MSDeployUnitAutoScheduleMigrations -Module UserMigrations -InstanceIds @(13987, 14102, 15325)