ONTAP Discussions

Netapp cli output to csv or excel

VKS
19,860 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
19,842 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
19,848 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
19,843 Views

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

 

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

 

 

xavierpitz
10,146 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
9,173 Views

to disable it :


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

Public