- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference