NaServer NetApp.SDK.NaServer 20 left 10 left left Server Version OnTap NaDisk NetApp.SDK.NaDisk 5 left 5 center 3 center 10 left 10 right 10 right 8 Center 8 left 20 left 6 left 10 left Disk Shelf Bay Status switch ($_.UsedSpace) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB)); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB)); continue} default {"{0} MB" -f [math]::round(($_ / 1MB)); continue} } switch ($_.PhysicalSpace) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB)); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB)); continue} default {"{0} MB" -f [math]::round(($_ / 1MB)); continue} } RPM FirmwareRevision DiskModel pool if ($_.Aggregate) { $_.Aggregate } elseif ($_.Volume) { $_.Volume } NaAggr NetApp.SDK.NaAggr 10 left 10 center 10 Right 6 right 10 Right 5 center 8 left 8 center 10 right 10 right 5 left Aggregate State switch ([int64]$_.SizeAvailable) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } [string]("{0}%" -f $_.SizePercentageUsed) switch ([int64]$_.SizeTotal) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } DiskCount RaidStatus RaidSize switch ([int64]$_.FilesUsed) { {$_ -ge 1000000000000} {"{0} t" -f [math]::round(($_ / 1000000000000),2); continue} {$_ -ge 1000000000} {"{0} b" -f [math]::round(($_ / 1000000000),2); continue} {$_ -ge 1000000} {"{0} m" -f [math]::round(($_ / 1000000),2); continue} {$_ -ge 1000} {"{0} k" -f [math]::round(($_ / 1000),2); continue} default {$_} } switch ([int64]$_.FilesTotal) { {$_ -ge 1000000000000} {"{0} t" -f [math]::round(($_ / 1000000000000),2); continue} {$_ -ge 1000000000} {"{0} b" -f [math]::round(($_ / 1000000000),2); continue} {$_ -ge 1000000} {"{0} m" -f [math]::round(($_ / 1000000),2); continue} {$_ -ge 1000} {"{0} k" -f [math]::round(($_ / 1000),2); continue} default {$_} } if ($_.localroot) { $true } NaVolume NetApp.SDK.NaVolume 17 left 8 center 10 right 6 center 10 right 8 center 10 left 10 right 10 right Volume State switch ([int64]$_.SizeAvailable) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } [string]("{0}%" -f $_.PercentageUsed) switch ([int64]$_.SizeTotal) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } Type ContainingAggregate switch ([int64]$_.FilesUsed) { {$_ -ge 1000000000000} {"{0} t" -f [math]::round(($_ / 1000000000000),2); continue} {$_ -ge 1000000000} {"{0} b" -f [math]::round(($_ / 1000000000),2); continue} {$_ -ge 1000000} {"{0} m" -f [math]::round(($_ / 1000000),2); continue} {$_ -ge 1000} {"{0} k" -f [math]::round(($_ / 1000),2); continue} default {$_} } switch ([int64]$_.FilesTotal) { {$_ -ge 1000000000000} {"{0} t" -f [math]::round(($_ / 1000000000000),2); continue} {$_ -ge 1000000000} {"{0} b" -f [math]::round(($_ / 1000000000),2); continue} {$_ -ge 1000000} {"{0} m" -f [math]::round(($_ / 1000000),2); continue} {$_ -ge 1000} {"{0} k" -f [math]::round(($_ / 1000),2); continue} default {$_} } NaVolumeAutoSize NetApp.SDK.NaVolumeAutoSize 10 left 10 left 15 left 15 left Volume Enabled IncrementSize MaxSize NaVolumeSize NetApp.SDK.NaVolumeSize 10 left 10 right 10 center 10 center 10 center Volume Size FixedSize Readonly Replica NaSnapShot NetApp.SDK.NaSnapShot 30 left 25 left 15 right 15 right Name [string]($_.Created).ToShortDateString() switch ([int64]$_.Total) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } switch ([int64]$_.CumulativeTotal) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } NaSnapshotReserve NetApp.SDK.NaSnapshotReserve 20 left 10 Right 15 right Name [string]("{0} %" -f $_.Percentage) switch ([int64]$_.Size) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } NaLicense NetApp.SDK.NaLicense 25 left 10 left 10 center 15 center 15 center Service Code Licensed ($_.IntstallationTimestamp).ToShortDateString() ($_.ExpirationTimestamp).ToShortDateString() NaLunMap NetApp.SDK.NaLunMap 35 left 15 Left 8 right 8 Left Path IGroup LunID Type NaLun NetApp.SDK.NaLun 35 left 15 Left 8 right 8 Left Left Path Description switch ([int64]$_.Size) { {$_ -ge 1tb} {"{0} TB" -f [math]::round(($_ / 1TB),1); continue} {$_ -ge 1gb} {"{0} GB" -f [math]::round(($_ / 1GB),1); continue} {$_ -ge 1mb} {"{0} MB" -f [math]::round(($_ / 1MB),1); continue} {$_ -ge 1kb} {"{0} KB" -f [math]::round(($_ / 1KB),1); continue} default {$_} } Online if ($_.Mapped) { $_.MapInfo } else { $null } NaQtree NetApp.SDK.NaQtree 35 left 15 Left 8 Left 8 Left Volume Qtree Style Oplocks NaSnapMirrorStatus NetApp.SDK.NaSnapMirrorStatus 30 left 30 Left 15 left 15 Left 10 Left Source Destination Status State Lag NaSnapMirrorSchedual NetApp.SDK.NaSnapMirrorSchedual 30 left 30 Left 10 left 10 Left 10 Left 10 Left Source Destination Days WeekDays Minutes Hours