ONTAP Discussions

Netapp Powershell GUI Report Tool

Miralem
9,507 Views

Hello, here  is a siple powershell GUI tool that you can use to collect info on Vols, LUN's and Aggrs. 

Script only contains get commands, so using read only account will work. Only tested on cDOT (commands like Get-Ncaggr).

View with Gridview and export to csv, html.

Thanks !

 

https://1drv.ms/u/s!AqSCRzNbjPTEuiODKam9JX_qsFJ1

 

2016-10-20 10_14_16-Clipboard.png

8 REPLIES 8

NAYABSK
9,477 Views

Hi, 

 

 

Thanks for the tool, seems this doesn't work ( Tried out myself ) for 7-Mode.

 

 

Thanks, 

Nayab

Miralem
9,468 Views

Hello Nayab,  sorry about that, I did mention that its only tested on cDOT.

In my enviroment I dont have 7-mode so could not create anything for it.

Unless commands are simmular instead of nc-aggr it would be na-aggr.. I could add option to select 7-mode or cDOT.

I will do some research and find out if thats the only difference.

Thank you !

vmjorge
9,087 Views

Hi,

 

Thanks for the tool.

 

Can you please share the source code please.

 

Kind regards.

Miralem
9,071 Views

Sure thing, .txt file uploaded. Change extention to ps1 and you can run it with powershell.

shweta53
7,847 Views


 

Miralem
7,834 Views

Hello,

If you are looking for simple way, you can use Oncommand Unified Manager.

You can create reports from there. If you need something more custom, PowerShell will do the job.

Just not sure what you need is,  here is sample output from attached .txt - rename to .ps1

 

 

- Cluster Stats -

Cluster : ***netapp

OntapVersion : NetApp Release 9.3P2

TotalSizeTB : 652.78

TotalProvisionedTB : 768.87

UsedTB : 435.99

% UsedSpace@100%Capacity : 67

% UsedSpace@85%Capacity : 79

% ProvisionedSpace@100%Capacity : 118

% ProvisionedSpace@85%Capacity : 139

 

-  Aggr stats -

Cluster : ***netapp

Aggr : node1_aggr2_data_sata

TotalSizeTB : 202.63

ProvisionedTB : 172.04

UsedTB : 144.83

% UsedSpace@100%Capacity : 71

% UsedSpace@85% Capacity : 84

% ProvisionedSpace@100%Capacity : 85

% ProvisionedSpace@85%Capacity : 100

 

 

vivekanandatalluri
4,025 Views

I need for this tool some one can provide the link where I can downlead 

Miralem
4,013 Views
Public