Hi LucD
Thank you for reply many times.
My question wrong, sorry.
I know how to setup alarm action.
I want to run powershell script that only add windows event to eventlog.
So, I don't need connect VC like PowerCLI.
(Sorry Dave, you found document is for PowerCLI.)
But "Run a command" can not work fine.
Redirect batch file is running, but can not run loaded powershell script.
How to load powershell script in vCenter alarm action?
Thank you
Hiro