Fixes
This commit is contained in:
@@ -21,8 +21,9 @@ function Get-SubnetUsage {
|
||||
"ByCIDR" {
|
||||
$_subnetId = (Get-Subnet -CIDR $CIDR).id
|
||||
if (!$_subnetId) { throw "Cannot find subnet!" }
|
||||
break
|
||||
}
|
||||
"ByID" { $_subnetId = $Id }
|
||||
"ByID" { $_subnetId = $Id; break }
|
||||
}
|
||||
$_identifiers = @($_subnetId,"usage")
|
||||
$_params.Add("Identifiers",$_identifiers)
|
||||
|
||||
Reference in New Issue
Block a user