From 1e775473fc73bc6e11f4a4c53551faf5f15bd5a7 Mon Sep 17 00:00:00 2001 From: Danny de Kooker Date: Thu, 18 Jul 2024 10:58:10 +0200 Subject: [PATCH] fixed summary mistake --- Azure/Azure-Licensing-Report.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Azure/Azure-Licensing-Report.ps1 b/Azure/Azure-Licensing-Report.ps1 index fb78035..a301fcb 100644 --- a/Azure/Azure-Licensing-Report.ps1 +++ b/Azure/Azure-Licensing-Report.ps1 @@ -277,12 +277,12 @@ Write-Summary "Report date: $(Get-Date -Format "dd-MM-yyy HH:mm:ss")" foreach ($license in $($licenseUsageData | Sort-Object -Property LicenseDisplayName)){ Write-Summary "******************" - Write-Summary "License Name: $($licenseUsageObject.LicenseDisplayName)" - Write-Summary "License SKU: $($licenseUsageObject.LicenseSKU)" - Write-Summary "Assigned Licenses: $($licenseUsageObject.AssignedLicenses)" - Write-Summary "Available Licenses: $($licenseUsageObject.AvailableLicenses)" - Write-Summary "Total Licenses: $($licenseUsageObject.TotalLicenses)" - Write-Summary "Status: $($licenseUsageObject.LicenseStatus)" + Write-Summary "License Name: $($license.LicenseDisplayName)" + Write-Summary "License SKU: $($license.LicenseSKU)" + Write-Summary "Assigned Licenses: $($license.AssignedLicenses)" + Write-Summary "Available Licenses: $($license.AvailableLicenses)" + Write-Summary "Total Licenses: $($license.TotalLicenses)" + Write-Summary "Status: $($license.LicenseStatus)" } Write-Summary "---------------------------" \ No newline at end of file