Author Posts

October 2, 2013 at 11:26 am

Trying to get this to work.

NetApp sdcli disk list to CSV with Powershell

Input Object not found error on export-csv (last line)

Attached is sample output from sdcli disk list command.

Anyone have success taking output from command and putting in object and subsequent csv?

October 3, 2013 at 2:58 am

It sounds like the $tmpsdcliDiskListMatrix variable isn't being populated correctly

I think you'll need to work through the output file you have comparing the text to the script to determine if anything has changed in the way the text is formatted.

taking text output and converting it to objects is always a risky proposition as one slight change in the format of the output and your script is broken