File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,16 @@ function Get-AbrFgtVPNIPsec {
9191
9292 foreach ($v1 in $vpn_ph1 ) {
9393 Section - Style Heading3 " Phase 1: $ ( $v1.name ) " {
94+ BlankLine
9495 $OutObj = @ ()
9596
9697 foreach ($properties in $v1.PSObject.properties ) {
9798 $value = " "
9899 $name = $properties.name
100+ # Remove q_origin_key (the same of name and it is an internal parameter)
101+ if ($name -eq " q_origin_key" ) {
102+ continue
103+ }
99104 # Skip System Object array (display after with children)
100105 if ($properties.typeNameOfValue -ne " System.Object[]" ) {
101106 $value = [string ]$properties.value
@@ -201,11 +206,16 @@ function Get-AbrFgtVPNIPsec {
201206
202207 foreach ($v2 in $vpn_ph2 ) {
203208 Section - Style Heading3 " Phase 2: $ ( $v2.name ) ($ ( $v2.phase1name ) )" {
209+ BlankLine
204210 $OutObj = @ ()
205211
206212 foreach ($properties in $v2.PSObject.properties ) {
207213 $value = " "
208214 $name = $properties.name
215+ # Remove q_origin_key (the same of name and it is an internal parameter)
216+ if ($name -eq " q_origin_key" ) {
217+ continue
218+ }
209219 # Skip System Object array (display after with children)
210220 if ($properties.typeNameOfValue -ne " System.Object[]" ) {
211221 $value = [string ]$properties.value
You can’t perform that action at this time.
0 commit comments