Command file not executing to shutdown linux based systems
APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-3012:06 AM. Last Modified: 2024-03-1104:23 AM
Command file not executing to shutdown linux based systems
We are testing PowerChute Network Shutdown for the following env.:
1 Exsi host with 2 test Windows server and vCenter appliance running on it
2 Physical Windows server
3 Physical Linux server.
The issue we have is that the linux physical server must be shutdown using a command file. The command we are running is:
@START "" "C:\Program Files\APC\PowerChute\group1\bin\plink.exe" -ssh user@devtools.domain.local -pw $password shutdown now
The PowerChute service is running as local administrator.
When running the batch file manually from an elevated command prompt it properly shuts down the linux server. When PC is reporting that the command has been executed, the server does not shutdown.