Skip to content

Commit ad61121

Browse files
committed
System(DHCP Reservation): Fix when no DHCP reservation (with PS 5.0)
1 parent ea11f3e commit ad61121

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Src/Private/Get-AbrFgtSystem.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,9 @@ function Get-AbrFgtSystem {
548548
if ($Report.ShowTableCaptions) {
549549
$TableParams['Caption'] = "- $($TableParams.Name)"
550550
}
551-
552-
$OutObj | Table @TableParams
551+
if ($OutObj.count) {
552+
$OutObj | Table @TableParams
553+
}
553554
}
554555
}
555556

0 commit comments

Comments
 (0)