I am trying to figure out a way to do the following via PowerCLI.
Using a list of VM's from get-vm check if they are in a protection group and then check the network mapping for the test network to see if it set to auto. I can get a a Networks listing via Protection.ListInventoryMappings().Networks but doesn't provide any actual useful information.
Any help is appreciated.