VMware Cloud Community
ririmia
Enthusiast
Enthusiast

PowerCLI SRM Network Inventory Mappings

Hello,

I need to create a script to list the Network Inventory Mapping from SRM server.
The information I need is the PortGroup name and the most important part the Distributed Switch name.

My script return very limited information.

$SRM_Sever = Connect-SrmServer -Credential (Get-Credential) -RemoteCredential (Get-Credential)
$SRM_Data = $SRM_Sever.ExtensionData
$SRM_Data.Protection.ListInventoryMappings().Networks

Output:
MoRef : DistributedVirtualPortgroup-dvportgroup-881951


There is any way to have this Network Mapping inventory?

Portgroup; Distributed Switch; Portgroup (Recovery Network);Distributed Switch (Recovery Network)

Thanks.

 

 

Reply
0 Kudos
0 Replies