DiskTableView Microsoft.Windows.Storage.StorageBusCache.StorageBusDisk Guid Number IsCache BusType DiskListView StorageBusDisk Guid Number IsCache BusType StorageBusBindingTableView Microsoft.Windows.Storage.StorageBusCache.StorageBusBinding DeviceGuid DeviceNumber CacheDeviceGuid CacheDeviceNumber CacheMode Right $v = $_.DirtyByteCount; $postfixes = @( "B", "KB", "MB", "GB", "TB", "PB" ) for ($i=0; $v -ge 1024 -and $i -lt $postfixes.Length; $i++) { $v /= 1024; } return "" + [System.Math]::Round($v,2) + " " + $postfixes[$i]; Right $v = $_.TotalByteCount; $postfixes = @( "B", "KB", "MB", "GB", "TB", "PB" ) for ($i=0; $v -ge 1024 -and $i -lt $postfixes.Length; $i++) { $v /= 1024; } return "" + [System.Math]::Round($v,2) + " " + $postfixes[$i]; StorageBusCacheParemeterListView Microsoft.Windows.Storage.StorageBusCache.StorageBusCacheParameters ProvisionMode SharedCachePercent CacheMetadataReserveBytes CacheModeHDD CacheModeSSD CachePageSizeKBytes Enabled ClusPortDeviceInformationTableView Microsoft.Management.Infrastructure.CimInstance#ROOT/wmi/ClusPortDeviceInformation Number DeviceGuid $_.Paths.PathId -join "," DeviceType ConnectedNode ConnectedNodeId VendorId ProductId SerialNumber Left DeviceAttribute ClusBfltPathInformationTableView Microsoft.Management.Infrastructure.CimInstance#ROOT/wmi/ClusBfltPathInformation Number DeviceGuid PathId PathType BusType DeviceType Left Attributes ClusBfltCacheStoreInformationTableView Microsoft.Management.Infrastructure.CimInstance#ROOT/wmi/ClusBfltCacheStoreInformation DeviceGuid PathId Right $size = $_.PageSize; $postfixes = @( "B", "KB", "MB", "GB", "TB", "PB" ) for ($i=0; $size -ge 1024 -and $i -lt $postfixes.Length; $i++) { $size = $size / 1024; } return "" + [System.Math]::Round($size,2) + " " + $postfixes[$i]; Right $allocatedSize = $_.StoreSize; $postfixes = @( "B", "KB", "MB", "GB", "TB", "PB" ) for ($i=0; $allocatedSize -ge 1024 -and $i -lt $postfixes.Length; $i++) { $allocatedSize = $allocatedSize / 1024; } return "" + [System.Math]::Round($allocatedSize,2) + " " + $postfixes[$i];