Last updated March 26th, 2014 by Steven Jordan
Takeaway: PowerShell script to run the #consistency check on any every inconsistent replica in DPM.
I plan to schedule and automate this to cut back on the crazy amount of alerts DPM creates. This should also cut down on the manual maintenance.
Takeaway: PowerShell script to run the #consistency check on any every inconsistent replica in DPM.
I plan to schedule and automate this to cut back on the crazy amount of alerts DPM creates. This should also cut down on the manual maintenance.
- Associate the DPM server:
- Start the consistency check:
$pg = Get-ProtectionGroup
foreach ($pgi in $pg) { $ds = get-datasource $pgi; foreach ($dsi in $ds) { if ($dsi.State -eq 'Invalid') { Start-DatasourceConsistencyCheck $dsi | out-null; $dsi.ProductionServerName + " :: " + $dsi.DisplayPath } } }
Reference: http://www.avianwaves.com/Blog/default.aspx?id=195
O #Scripts #PowerShell O
No comments:
Post a Comment