File tree Expand file tree Collapse file tree 1 file changed +0
-38
lines changed
Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -256,44 +256,6 @@ function Get-AbrFgtVPNIPsec {
256256
257257 }
258258
259- foreach ($v2 in $vpn_ph2 ) {
260- Section - Style Heading3 " Phase 2: $ ( $v2.name ) ($ ( $v2.phase1name ) )" {
261- BlankLine
262- $OutObj = @ ()
263-
264- $OutObj += [pscustomobject ]@ {
265- " Name" = $v2.name
266- " Phase 1 Name" = $v2.phase1name
267- " Commnets" = $v2.comments
268- " Proposal" = $v2.proposal -replace " " , " , "
269- " DH Group" = $v2.dhgrp -replace " " , " , "
270- " Replay" = $v2.replay
271- " KeepAlive" = $v2.keepalive
272- " Keylife Type" = $v2 .' keylife-type'
273- " Keylife Seconds" = $v2.keylifeseconds
274- " Keylife Kbs" = $v2.keylifekbs
275- ' Source Address Type' = $v2 .' src-addr-type'
276- ' Source Address Name' = $v2 .' src-name'
277- ' Source Address Subnet' = $ (if ($Options.UseCIDRNotation ) { Convert-AbrFgtSubnetToCIDR - Input $v2 .' src-subnet' } else { $v2 .' src-subnet' })
278- ' Destination Address Type' = $v2 .' dst-addr-type'
279- ' Destination Address Name' = $v2 .' dst-name'
280- ' Destination Address Subnet' = $ (if ($Options.UseCIDRNotation ) { Convert-AbrFgtSubnetToCIDR - Input $v2 .' dst-subnet' } else { $v2 .' dst-subnet' })
281- }
282-
283-
284- $TableParams = @ {
285- Name = " VPN IPsec Phase 2: $ ( $v2.name ) "
286- List = $true
287- ColumnWidths = 50 , 50
288- }
289-
290- if ($Report.ShowTableCaptions ) {
291- $TableParams [' Caption' ] = " - $ ( $TableParams.Name ) "
292- }
293-
294- $OutObj | Table @TableParams
295- }
296- }
297259 }
298260 }
299261
You can’t perform that action at this time.
0 commit comments