File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,24 @@ $migTask = New-AzDataMigrationTask -TaskType MigrateSqlServerSqlDb `
195
195
-SelectedDatabase $selectedDbs `
196
196
```
197
197
198
+ The following example creates and starts the same migration task as above but also performs all three validations:
199
+
200
+ ``` powershell
201
+ $migTask = New-AzDataMigrationTask -TaskType MigrateSqlServerSqlDb `
202
+ -ResourceGroupName myResourceGroup `
203
+ -ServiceName $service.Name `
204
+ -ProjectName $project.Name `
205
+ -TaskName myDMSTask `
206
+ -SourceConnection $sourceConnInfo `
207
+ -SourceCred $sourceCred `
208
+ -TargetConnection $targetConnInfo `
209
+ -TargetCred $targetCred `
210
+ -SelectedDatabase $selectedDbs `
211
+ -SchemaValidation `
212
+ -DataIntegrityValidation `
213
+ -QueryAnalysisValidation `
214
+ ```
215
+
198
216
## Monitor the migration
199
217
You can monitor the migration task running by querying the state property of the task as shown in the following example:
200
218
You can’t perform that action at this time.
0 commit comments