ONTAP Discussions

Netapp cli output to csv or excel

VKS
21,585 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
21,567 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
21,573 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
21,568 Views

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

 

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

 

 

xavierpitz
11,871 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
10,898 Views

to disable it :


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

Public