Get VM power state

Returns the power state of the specified virtual machine.