ONTAP Discussions

Netapp cli output to csv or excel

VKS
17,974 Views

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
17,956 Views

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
17,962 Views

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
17,957 Views

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

 

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

 

 

xavierpitz
8,260 Views

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
7,287 Views

to disable it :


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

Public