PowerCLI 11.2 gives us the ability to perform some basic functions on NSX-T opaque networks. I'm trying to find a way to move those opaque networks to a new inventory folder in the Networking view. When I try the Move-Inventory cmdlet, it cannot convert that opaque type to the type it expects. Any of you who have worked with opaque networks in PowerCLI ever tried this?
$ls = Get-View -ViewType OpaqueNetwork | Where-Object Name -eq <logical_switch_name>
Move-Inventory -Item $ls -Destination NSX-Test
Move-Inventory : Cannot bind parameter 'Item'. Cannot convert the "VMware.Vim.OpaqueNetwork" value of type "VMware.Vim.OpaqueNetwork" to type "VMware.VimAutomation.ViCore.Types.V1.Inventory.InventoryItem".
I'm going to go guess here that this just isn't possible in the current version.