Skip to content

Commit 988f9af

Browse files
3.1.11
1 parent 6077491 commit 988f9af

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

AzureResourceInventory.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# #
33
# * Azure Resource Inventory ( ARI ) Report Generator * #
44
# #
5-
# Version: 3.1.10 #
5+
# Version: 3.1.11 #
66
# #
7-
# Date: 11/07/2023 #
7+
# Date: 11/23/2023 #
88
# #
99
##########################################################################################
1010
<#

Extras/DrawIODiagram.ps1

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ https://github.com/microsoft/ARI/Extras/DrawIODiagram.ps1
1212
This powershell Module is part of Azure Resource Inventory (ARI)
1313
1414
.NOTES
15-
Version: 3.0.6
15+
Version: 3.0.7
1616
First Release Date: 19th November, 2020
1717
Authors: Claudio Merola and Renato Gregio
1818
@@ -451,7 +451,10 @@ Function Network {
451451
Param($Con1)
452452
foreach ($Con2 in $Con1)
453453
{
454-
$Global:vnetLoc = 700
454+
if([string]::IsNullOrEmpty($Global:vnetLoc))
455+
{
456+
$Global:vnetLoc = 700
457+
}
455458
$VGT = $AZVGWs | Where-Object {$_.id -eq $Con2.properties.virtualNetworkGateway1.id}
456459
$VGTPIP = $PIPs | Where-Object {$_.properties.ipConfiguration.id -eq $VGT.properties.ipConfigurations.id}
457460

@@ -600,7 +603,10 @@ Function Network {
600603
Function vWan {
601604
Param($wan1)
602605

603-
$Global:vnetLoc = 700
606+
if([string]::IsNullOrEmpty($Global:vnetLoc))
607+
{
608+
$Global:vnetLoc = 700
609+
}
604610
$VWAN = $wan1
605611

606612
$Name2 = $wan1.Name
@@ -742,7 +748,10 @@ Function Network {
742748
$Global:RoutsW = $AZVNETs | Select-Object -Property Name, @{N="Subnets";E={$_.properties.subnets.properties.addressPrefix.count}} | Sort-Object -Property Subnets -Descending
743749

744750
$Global:VNETHistory = @()
745-
$Global:vnetLoc = 700
751+
if([string]::IsNullOrEmpty($Global:vnetLoc))
752+
{
753+
$Global:vnetLoc = 700
754+
}
746755
$Global:Alt = 2
747756

748757
foreach($AZVNETs2 in $AZVNETs)

0 commit comments

Comments
 (0)