Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

Show the State(InvalidState) of a machine via scripting

$
0
0

HI All,

I have a problem with some of my VM's in my VCenter:

Few ones of them go in an unknown state and aren't accessible for our users.

When I try to start them via Power CLI I get the error:

 

Start-VM        The operation for the entity VirtualMachine-vm-1280  failed with the following message: "The operation is not allowed in the  current state of the host."
At line:1 char:32
+ start-vm <<<<
    + CategoryInfo          : NotSpecified: (:) [Start-VM], InvalidHostState
    + FullyQualifiedErrorId :

 

As I'm very new to the CLI can someone tell me how I can't show the State/InvalidState of a machine via scripting?

Thanks and Regards

crnine


Viewing all articles
Browse latest Browse all 176483

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>