Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: Import vCenter Permissions via XML

$
0
0

Can you check what EntityType values are present in the XML file with the following snippet?

 

$XMLfile="C:\Support\Roles\vcenter.xml"

$vInventory=[xml]"<dummy/>"

$vInventory.Load($XMLfile)

 

$vInventory.SelectNodes("Inventory/Permissions/Permission")|

  Select -ExpandProperty EntityType |

   Group-Object


Viewing all articles
Browse latest Browse all 49146

Trending Articles



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