UNSOLVED

s33butler

updated

14 years ago

S

s33butler

12 Posts

2

12685

February 14th, 2013 09:00

Suggestions

Not sure if this is the right place as I am not seeing a lot of activity here, but maybe there are some Devs skimming these posts.

Get-SCVolume and Get-SCVolumeFolder are nice, but could use some more information...  Free Space, Total Disk Space, Actual Space, Active Space, Replay Space, Raid Overhead, Savings vs Raid Ten

It would also be nice to display what Servers have which Volumes or vice versa in the case of a cluster what Volume is attached to which Servers.  But the commands do not pass parameters.

PS C:\Scripts> Get-SCServer ServerName | Get-SCVolume
Get-SCVolume : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.

Get-SCVolume VolumeName | Get-SCServer
Get-SCVolumeFolder FolderName | Get-SCVolume

System info would be nice i.e. Total Available Space, Allocated Space, Free, Used, System and such.  Tray info, Controller Info.  I am not sure if this one is possible, but when displaying disks it only displays vendor info like Vendor: SEAGATE Product: ST3500071FC and does not include Dell/Compellent data like DS-F500X7K.  Might be important if I want to search my systems for Disks nearing EoS/EoL.

Lastly, and this one is probably the bigger one of the bunch, it looks like a bunch of the commands have the values incorrectly classed.  For example, on anything that is a size it is stored as a String instead of a ByteSize or at the very least an Integer.  Below is the size values between Exchange and Compellent...

Compellent
PS C:\Scripts> (Get-SCVolume "TESTVol1").Size
10.00 GB
PS C:\Scripts> (Get-SCVolume "TESTVol1").Size.GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True String System.Object

Exchange
[PS] C:\>(Get-Mailbox TestMB | Get-MailboxStatistics).TotalItemSize.Value
367391228B
[PS] C:\>(Get-Mailbox TestMB | Get-MailboxStatistics).TotalItemSize.Value.GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True ByteQuantifiedSize System.ValueType

When you export, the Size is a String and thus treated as Text, so sorting and calculations of storage for volumes needs lots of work when the data returned is listed as different size values like 100 MB, 200 GB, 3 TB.

Thank you for your time,

Scott

No Responses