SizeDistributionCount¶
SpaceObServer.Application.Properties.SizeDistributionCount
Beschreibung
Gibt die Anzahl der Intervalle zurück, die für die „Verteilungen“ Statistik konfiguriert sind.
Syntax
property SizeDistributionCount: <Boolean>; (read only)
Beispiel
PowerShell:
$RootDirectoryID = $SOS.RootFolderID
for(($Index = 0); ($Index -lt $SOS.SizeDistributionCount); ($Index++))
{
$SOS.GetSizeDistributionValue($RootDirectoryID, $Index, $AllocatedSpace, $NumberOfFiles)
...
}
VBS:
RootDirectoryID = SOS.RootFolderID
Index = 0
Do While Index < SOS.SizeDistributionCount
SOS.GetSizeDistributionValue RootDirectoryID, Index, AllocatedSpace, NumberOfFiles
...
Index = Index+1
Loop
Führt eine Schleife über alle „Size Distribution“-Intervalle des aktuell aktivierten Stammverzeichnisses durch und fragt für jedes einzelne Intervall den zugewiesenen Speicherplatz und die Anzahl der Dateien ab.