Community maintenance is complete. Thank you for your patience!

Microsoft Virtualization Discussions

PowerShell script for installing Ontap 8.x 7-mode on multiple arrays

kortas

Hello

 

Has anyone created a powershell set of commands to install the .tgz file containing an Ontap upgrade on multiple NetApp HA pairs?

 

I have 12 (6 HA pairs) systems that I would like to deploy to and it is rather time consuming to ssh into each to perform the upgrade.

 

Thanks!

1 REPLY 1

billyd

You could do something like this:

 

foreach ($c in get-content filerlist.txt){connect-nacontroller $c -cred $cred;invoke-nassh "software get http://<http server>/<ontapversion>.tgz"}

 

 

If you're in a Windows environment and don't have an HTTP Server available, Install IIS  > World Wide Web Services on a server or workstation.  Place the .tgz file in C:\inetpub\wwwroot\

 

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public