jvm2016
Hot Shot
Hot Shot

drsautomationlevel_powercli

Hi Luc ,

can you please suggest why following does not work

get-vm|select name,drsautomationlevel

i was expecting name and drsautomationlevel of each vm .drsautomationlevel is direct property of vm .still i m getting names only.

whn i do individually i am getting name and drsautomationlevel.

0 Kudos
11 Replies
LucD
Leadership
Leadership

You should see it, even if not set explicitly on the VM but on the cluster level.

In the latter case you should see AsSpecifiedByCluster.

What does this return?

Get-Cluster -Name MyCluster |

Get-VM |

Select Name,DrsAutomationLevel


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

0 Kudos
jvm2016
Hot Shot
Hot Shot

i am checking it .however there is only one cluster so i just run

get-vm|select name,drsautomationlevel.

i am checking again with cluster as yu suggested.

0 Kudos
LucD
Leadership
Leadership

You might also want to check if you overrode the DRS setting for individual VMs.

Via the Web Client: Cluster - Cluster - Configure - Configuration - VM Overrides

Or via script

$cluster = Get-Cluster -Name MyCluster

$cluster.ExtensionData.Configuration.DrsVmConfig


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

0 Kudos
jvm2016
Hot Shot
Hot Shot

even this return as name only .this is strange for some reasons .

0 Kudos
jvm2016
Hot Shot
Hot Shot

that does not give anything .so it shoud be understood that this is as specifiedbycluster.no vmoverides .correct?

0 Kudos
LucD
Leadership
Leadership

Yes, no specific VM overrides.

Btw, which PowerCLI version?

The default display might have been changed


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

0 Kudos
jvm2016
Hot Shot
Hot Shot

it is 6.5 .

0 Kudos
LucD
Leadership
Leadership

Really?
Haven't you upgraded by now to a more recent version.


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

0 Kudos
jvm2016
Hot Shot
Hot Shot

How to say this this sad story that change process is a big trouble.i think it's high time to understand that some tasks should not be part of change.this is reducing productivity and interest of doing innovation .every day I thought of doing so much interesting work but unwanted process and approvals from different so many people force me to think and think only and then to again think.there is so much more to this sad story but I should not disclose now here......       

0 Kudos
LucD
Leadership
Leadership

Tell me about it :smileygrin:

Some arguments I used:

  • With newer versions they fix bugs an add support for new features.
    Working around the bugs and lack of supported features, costs more in the end.
  • And for acceptance, a product with this user base, is 90% community validated.
    If there are issues, even the ones you wouldn't find, the community is bound to find them.


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

0 Kudos
jvm2016
Hot Shot
Hot Shot

I will definitely share with one to one message as lots of wolves sniffing  around.  .

However thanks for your 2 points mentioned.

.

0 Kudos