Hi,
I’m trying to automate a redeploy of a Vault Server on Windows machines, but I need shutdown the current instance using PowerShell scripts.
I know I can just use “(Get-Process vault).Kill()” or Stop-Process method, but I want to safely shutdown the Vault Server, as when I press Ctrl+C in the PowerShell window and then I can see the message “Vault shutdown triggered” and subsequent messages.
I saw a topic in another group that someone suggested to “Always use SIGINT or SIGTERM to properly shut down Vault.”, but I have no idea how to use this on PowerShell and windows environment.
Can someone please help me with this?
Thanks a lot!!
Vicente Silva