VMware Cloud Community
DMBrosig
Contributor
Contributor
Jump to solution

stop-vm vs. stop-button

Hi, and sorry for my bad english.

If I stop a vm with stop-vm, the vm stops immediatly, there is no shutdown prozess. If I press the stop button, the linux-vm start a regular shutdown.

How can I do a regular shutdown with powercli command's.

Thank's and best regards

Micha

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

For a guest OS shutdown you should use the Shutdown-VMGuest cmdlet.

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
jkumhar75
Hot Shot
Hot Shot
Jump to solution

There is very good article on running the shutdown script for the VM using powerCLI. the below link will help you.

http://xtravirt.com/powercli-shutdown-your-virtual-infrastructure

MCSE, VCP310, VCP410.

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Jayprakash VCP3,VCP4,MCSE 2003 http://kb.vmware.com/
LucD
Leadership
Leadership
Jump to solution

For a guest OS shutdown you should use the Shutdown-VMGuest cmdlet.

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos