Welcome › Forums › General PowerShell Q&A › SDCLI command ouptut to CSV
This topic contains 1 reply, has 2 voices, and was last updated by
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?
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
The topic ‘SDCLI command ouptut to CSV’ is closed to new replies.