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 2
2
# #
3
3
# * Azure Resource Inventory ( ARI ) Report Generator * #
4
4
# #
5
- # Version: 3.1.10 #
5
+ # Version: 3.1.11 #
6
6
# #
7
- # Date: 11/07 /2023 #
7
+ # Date: 11/23 /2023 #
8
8
# #
9
9
# #########################################################################################
10
10
<#
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ https://github.com/microsoft/ARI/Extras/DrawIODiagram.ps1
12
12
This powershell Module is part of Azure Resource Inventory (ARI)
13
13
14
14
. NOTES
15
- Version: 3.0.6
15
+ Version: 3.0.7
16
16
First Release Date: 19th November, 2020
17
17
Authors: Claudio Merola and Renato Gregio
18
18
@@ -451,7 +451,10 @@ Function Network {
451
451
Param ($Con1 )
452
452
foreach ($Con2 in $Con1 )
453
453
{
454
- $Global :vnetLoc = 700
454
+ if ([string ]::IsNullOrEmpty($Global :vnetLoc ))
455
+ {
456
+ $Global :vnetLoc = 700
457
+ }
455
458
$VGT = $AZVGWs | Where-Object {$_.id -eq $Con2.properties.virtualNetworkGateway1.id }
456
459
$VGTPIP = $PIPs | Where-Object {$_.properties.ipConfiguration.id -eq $VGT.properties.ipConfigurations.id }
457
460
@@ -600,7 +603,10 @@ Function Network {
600
603
Function vWan {
601
604
Param ($wan1 )
602
605
603
- $Global :vnetLoc = 700
606
+ if ([string ]::IsNullOrEmpty($Global :vnetLoc ))
607
+ {
608
+ $Global :vnetLoc = 700
609
+ }
604
610
$VWAN = $wan1
605
611
606
612
$Name2 = $wan1.Name
@@ -742,7 +748,10 @@ Function Network {
742
748
$Global :RoutsW = $AZVNETs | Select-Object - Property Name, @ {N = " Subnets" ;E = {$_.properties.subnets.properties.addressPrefix.count }} | Sort-Object - Property Subnets - Descending
743
749
744
750
$Global :VNETHistory = @ ()
745
- $Global :vnetLoc = 700
751
+ if ([string ]::IsNullOrEmpty($Global :vnetLoc ))
752
+ {
753
+ $Global :vnetLoc = 700
754
+ }
746
755
$Global :Alt = 2
747
756
748
757
foreach ($AZVNETs2 in $AZVNETs )
You can’t perform that action at this time.
0 commit comments