If u want the output as it is then u can do out-file, but if u need to customize a few properties or remove a few properties u need to get it in a object array thats exactly what i have done, for example the disk size will by default will come in bytes which might not be the desirable format for most people so have to convert to object array loop it and then perform the conversion.
Thanks for the reply ,