2011-12-26 12:56 AM
I'm looking for a possibility to shutdown/halt the filer over a powershell script? Is there any solution?
The background ist that I would like to create a script which stop the filer in case of a UPS event.
I know about the ups command on netapp, but I'll control the whole shutdown from a central management pc.
Solved! SEE THE SOLUTION
2011-12-27 09:19 AM
There are a number of ways to accomplish this - look into plink that comes with Putty. You can call batch scripts basically from anything. You can establish SSH and then issue the halt command on each of your heads. Remember if you're in a pair you'll want to do a cluster disable as well. If you want something more fancy, look into something like this http://huddledmasses.org/scriptable-ssh-from-powershell/