Skip to content

Commit 340a5d4

Browse files
tpcarmanmattallford
authored andcommitted
v1.0.1 patch
* Improve code and report readability * Fix vCenter licensing (Issue #34) * Fix Datastore reporting when an empty datastore cluster exists (Issue #35) * Fix VMHost reporting to exclude HCX Cloud Gateway host (Issue #36)
1 parent a28cb4e commit 340a5d4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Src/Public/Invoke-AsBuiltReport.VMware.vSphere.ps1

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,6 @@ function Invoke-AsBuiltReport.VMware.vSphere {
14661466
$DasVmOverrideVmMonitoring | Sort-Object 'Virtual Machine' | Table -Name "$Cluster HA VM Overrides VM Monitoring"
14671467
}
14681468
}
1469-
$DasVmOverrideVmMonitoring | Sort-Object 'Virtual Machine' | Table -Name "$Cluster HA VM Overrides VM Monitoring"
14701469
}
14711470
}
14721471
}
@@ -1520,11 +1519,6 @@ function Invoke-AsBuiltReport.VMware.vSphere {
15201519
$ClusterComplianceInfo | Sort-Object Name, Baseline | Table -Name "$Cluster Update Manager Compliance" -ColumnWidths 25, 50, 25
15211520
}
15221521
}
1523-
if ($Healthcheck.Cluster.VUMCompliance) {
1524-
$ClusterComplianceInfo | Where-Object { $_.Status -eq 'Unknown' } | Set-Style -Style Warning
1525-
$ClusterComplianceInfo | Where-Object { $_.Status -eq 'Not Compliant' -or $_.Status -eq 'Incompatible' } | Set-Style -Style Critical
1526-
}
1527-
$ClusterComplianceInfo | Sort-Object Name, Baseline | Table -Name "$Cluster Update Manager Compliance" -ColumnWidths 25, 50, 25
15281522
}
15291523
#endregion Cluster VUM Compliance
15301524

@@ -1552,7 +1546,6 @@ function Invoke-AsBuiltReport.VMware.vSphere {
15521546
}
15531547
#endregion Cluster Permissions
15541548
}
1555-
$ClusterVIPermissions | Sort-Object 'User/Group' | Table -Name "$Cluster Permissions"
15561549
}
15571550
}
15581551
#endregion Cluster Detailed Information
@@ -2672,7 +2665,6 @@ function Invoke-AsBuiltReport.VMware.vSphere {
26722665
}
26732666
$VDSTrafficShapingDetail | Sort-Object 'Direction' | Table -Name "$VDS Traffic Shaping"
26742667
}
2675-
$VDSTrafficShapingDetail | Sort-Object Direction | Table -Name "$VDS Traffic Shaping"
26762668
}
26772669
#endregion Distributed Virtual Switch Traffic Shaping
26782670

@@ -3403,4 +3395,4 @@ function Invoke-AsBuiltReport.VMware.vSphere {
34033395

34043396
} # End of Foreach $VIServer
34053397
#endregion Script Body
3406-
} # End Invoke-AsBuiltReport.VMware.vSphere function
3398+
} # End Invoke-AsBuiltReport.VMware.vSphere function

0 commit comments

Comments
 (0)