Skip to content

Commit

Permalink
Improved report total processing time
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelinux committed Jan 15, 2024
1 parent d06b99d commit c85466b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Src/Private/Get-AbrVbrInstalledLicense.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function Get-AbrVbrInstalledLicense {
# Instance Section #
#---------------------------------------------------------------------------------------------#
try {
$Licenses = Get-VBRInstalledLicense | Select-Object -ExpandProperty InstanceLicenseSummary
$Licenses = $VbrLicenses | Select-Object -ExpandProperty InstanceLicenseSummary
if ($Licenses.LicensedInstancesNumber -gt 0) {
$OutObj = @()
try {
Expand Down Expand Up @@ -163,7 +163,7 @@ function Get-AbrVbrInstalledLicense {
# Per Instance Section #
#---------------------------------------------------------------------------------------------#
try {
$Licenses = (Get-VBRInstalledLicense | Select-Object -ExpandProperty InstanceLicenseSummary).Object
$Licenses = ($VbrLicenses | Select-Object -ExpandProperty InstanceLicenseSummary).Object
if ($Licenses) {
Section -Style NOTOCHeading5 -ExcludeFromTOC 'Per Instance Type License Usage' {
$OutObj = @()
Expand Down Expand Up @@ -209,7 +209,7 @@ function Get-AbrVbrInstalledLicense {
# CPU Socket License Section #
#---------------------------------------------------------------------------------------------#
try {
$Licenses = Get-VBRInstalledLicense | Select-Object -ExpandProperty SocketLicenseSummary
$Licenses = $VbrLicenses | Select-Object -ExpandProperty SocketLicenseSummary
if ($Licenses.LicensedSocketsNumber -gt 0) {
$OutObj = @()
try {
Expand Down Expand Up @@ -295,7 +295,7 @@ function Get-AbrVbrInstalledLicense {
# Capacity License Section #
#---------------------------------------------------------------------------------------------#
try {
$Licenses = Get-VBRInstalledLicense | Select-Object -ExpandProperty CapacityLicenseSummary
$Licenses = $VbrLicenses | Select-Object -ExpandProperty CapacityLicenseSummary
if ($Licenses.LicensedCapacityTb -gt 0) {
$OutObj = @()
try {
Expand Down

0 comments on commit c85466b

Please sign in to comment.