Solved

list PD's with 'role' and 'status' info

  • 14 February 2017
  • 1 reply
  • 2986 views

Userlevel 1
Badge +12
Is there a cmdlet that will list my PD's and include the 'role' and 'status' of each? I don't see either of those property's when I run Get-NTNXProtectionDomain | Format-List -Property *

Thanks in advance!
icon

Best answer by sandeepmp 22 February 2017, 07:29

Hi mandg,

Role & Status can be found under "Metroavail".

Please find the below command to get the necessary info.

Get-NTNXProtectionDomain | select name,@{Name="Role";Expression={$_.metroavail.role}},@{Name="Status";Expression={$_.metroavail.status}}

Regards,
Sandeep MP
View original

1 reply

Userlevel 4
Badge +19
Hi mandg,

Role & Status can be found under "Metroavail".

Please find the below command to get the necessary info.

Get-NTNXProtectionDomain | select name,@{Name="Role";Expression={$_.metroavail.role}},@{Name="Status";Expression={$_.metroavail.status}}

Regards,
Sandeep MP

Reply