AsBuiltReport / AsBuiltReport.VMware.vSphere

Repository for AsBuiltReport VMware vSphere module
https://www.asbuiltreport.com
MIT License
112 stars 39 forks source link

SDRS VM Overrides display duplicate VMs if the vCenter is connected by IP and FQDN #99

Open rebelinux opened 2 years ago

rebelinux commented 2 years ago

If the vCenter is connected with PowerCLI by IP and FQDN the SDRS VM Overrides table of the Datastore Cluster section display duplicate VMs entries.

PowerCLI connected vCenter (both entry point to the same vCenter):

[DBG]: PS /home/rebelinux> $global:DefaultVIServers                                                                                               
Name                           Port  User                          
----                           ----  ----
vcenter-01v.pharmax.local      443   VSPHERE.LOCAL\Administrator
192.168.5.2                    443   VSPHERE.LOCAL\Administrator

[DBG]: PS /home/rebelinux> 

VMWARE_VDI_DATASTORE - SDRS VM Override with Duplicate entries: VMWARE_VDI_DATASTORE_SDRS_VM_Duplicate

SSD-HIGH-PERF - SDRS VM Override with Duplicate entries: SSD-HIGH-PERF_SDRS_VM_Duplicate

HDD-MED-PERF - SDRS VM Override with Duplicate entries: HDD-MED-PERF_SDRS_VM_Duplicate

VMOverride variable debugging: VMOverrides_Duplicate_VMs