VMware Cloud Community
mark_chuman
Hot Shot
Hot Shot
Jump to solution

Script to report on virtual machine automation level in DRS

I'm having a difficult time building a report that gives me the "automation level" setting for each virtual machine in the infrastructure.  This setting is located in the cluster DRS "virtual machine options" setting (see attached image).  I've been working with get-drsrule and get-cluster commandlets, but no success.  Anyone know where to get this data from via powershell?  Thanks.

Reply
0 Kudos
1 Solution

Accepted Solutions
ykalchev
VMware Employee
VMware Employee
Jump to solution

Hi,

The info is part of the VirtualMachine data:

Get-VM | select DrsAutomationLevel

Regards,

Yasen

Yasen Kalchev, vSM Dev Team

View solution in original post

Reply
0 Kudos
3 Replies
ykalchev
VMware Employee
VMware Employee
Jump to solution

Hi,

The info is part of the VirtualMachine data:

Get-VM | select DrsAutomationLevel

Regards,

Yasen

Yasen Kalchev, vSM Dev Team
Reply
0 Kudos
mark_chuman
Hot Shot
Hot Shot
Jump to solution

Many thanks.

Reply
0 Kudos
atamufti
Contributor
Contributor
Jump to solution

Thanks

Reply
0 Kudos