VMware Cloud Community
Meirp
Enthusiast
Enthusiast

Run Powershell script on Alert

HI All,

 

All my VM's have "Owner" attribute which is Email address, i would like to run a automatic PS code that once HA is took place.

I got an idea that identify a VCENTER HA alert once it happens run PS script that inform those users that their VM reboot due an issue.

 

I tried to check the alert and found this "vSphere HA virtual machine monitoring action" '

Meirp_0-1612357099076.png

 

And found this option "Run Scripts":

Meirp_1-1612357128142.png

 

 

How can i add here my PS file?

Labels (1)
  • i

0 Kudos
2 Replies
scott28tt
VMware Employee
VMware Employee

@Meirp 

Moderator: Moved to vSphere Discussions, question not about the vSphere Host Client.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
Meirp
Enthusiast
Enthusiast

//PopUp//

0 Kudos