File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 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<#
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ https://github.com/microsoft/ARI/Extras/DrawIODiagram.ps1
1212This powershell Module is part of Azure Resource Inventory (ARI)
1313
1414. NOTES
15- Version: 3.0.6
15+ Version: 3.0.7
1616First Release Date: 19th November, 2020
1717Authors: 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 )
You can’t perform that action at this time.
0 commit comments