Deduplication Informationen abfragen
Dieses Script fragt konkrete Pfade z.B. auf einem Hyper-V Server ab und zeigt wieviel Platz bei Deduplication gewonnen wird. Wichtig: ddpeval ist nur auf Servern mit der Rolle „Deduplication“ aktiv.
$AllHypervisors = "Server1","Server2"
$SB = {ddpeval "\\$($args[0])\D$\Microsoft Hyper-V" /o:"C:\Temp\dedupe$($args[0]).txt"}
$AllHypervisors | % {Start-Job -ScriptBlock $sb -ArgumentList $_ -Name $_}