ONTAP Discussions

Netapp cli output to csv or excel

VKS
17,480 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,462 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,468 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,463 Views

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

 

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

 

 

xavierpitz
7,766 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
6,793 Views

to disable it :


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

Public