ONTAP Discussions

Netapp cli output to csv or excel

VKS

Hi Guys,

 

Just want to know if we can collect the output generated from CLI of Netapp cluster mode to either in excel or in csv. I have connected to the console of netapp box using putty and want to collect the output in excel file.

 

regards

VK

1 ACCEPTED SOLUTION

James_Castro

View this video from NetApp KB TV.  Tells you how to do it.

 

https://www.youtube.com/watch?v=WE_vAsqaBbI

 

 

View solution in original post

4 REPLIES 4

JGPSHNTAP

Ok, why would you want to connect output to excel file.

 

For console logging you should set your console window to log the putty session.

 

For excel output to CSV, you should become familiar with the powershell cmdlets and output to csv.

James_Castro

View this video from NetApp KB TV.  Tells you how to do it.

 

https://www.youtube.com/watch?v=WE_vAsqaBbI

 

 

xavierpitz

Hello,

 

For those like me who watched the previously mentioned NetApp KB YouTube video too often 😉 :

 

set -showseparator '!'
set -rows 0
set -showallfields true
set -units GB

xavierpitz

to disable it :


set -showseparator ''
set -rows 24
set -showallfields false
set -units auto

Public