ONTAP Discussions

NetApp DataONTAP PowerShell Service Processor Reboot Command

itsupport

I am trying to reboot the service processor on our netapp filers with the below command as part of a powershell script

 

$controller | ForEach-Object {

Invoke-NaSsh -Controller $_ -Command "sp reboot" -Credential $credential }

 

When running this command I get prompted for the following;

 

NOTE : If your console connection is through the SP,it will be disconnected
Do you want to reboot the SP now? (y/n) :?

 

Does anyone have an idea how I can confirm within the powershell script

0 REPLIES 0
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