diff --git a/docs/Add-FGTFirewallAddress.md b/docs/Add-FGTFirewallAddress.md index 03c51675..fd8556ae 100644 --- a/docs/Add-FGTFirewallAddress.md +++ b/docs/Add-FGTFirewallAddress.md @@ -47,6 +47,13 @@ Add-FGTFirewallAddress -name [-mac ] [-interface ] [- [-ProgressAction ] [] ``` +### dynamic +``` +Add-FGTFirewallAddress -name -sdn -filter [-interface ] [-comment ] + [-visibility ] [-allowrouting] [-data ] [-vdom ] [-connection ] + [-ProgressAction ] [] +``` + ## DESCRIPTION Add a FortiGate Address (ipmask, iprange, fqdn) @@ -110,6 +117,13 @@ Add Address object type mac (macaddr) with name FGT-Mac and value 01:02:03:04:05 ### EXAMPLE 9 ``` +Add-FGTFirewallAddress -Name FGT-Dynamic-SDN-MyVM -sdn MyVcenter -filter VMNAME=MyVM +``` + +Add Address object type dynamic (SDN) MyVcenter with name FGT-Dynamic-SDN-MyVM and filter VMNAME=MyVM + +### EXAMPLE 10 +``` $data = @{ "color" = 23 } PS C:\>Add-FGTFirewallAddress -Name FGT -ip 192.0.2.0 -mask 255.255.255.0 -data $data ``` @@ -238,6 +252,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -sdn +{{ Fill sdn Description }} + +```yaml +Type: String +Parameter Sets: dynamic +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -filter +{{ Fill filter Description }} + +```yaml +Type: String +Parameter Sets: dynamic +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -interface {{ Fill interface Description }} diff --git a/docs/Get-FGTMonitorFirewallAddressDynamic.md b/docs/Get-FGTMonitorFirewallAddressDynamic.md new file mode 100644 index 00000000..2940cc35 --- /dev/null +++ b/docs/Get-FGTMonitorFirewallAddressDynamic.md @@ -0,0 +1,133 @@ +--- +external help file: PowerFGT-help.xml +Module Name: PowerFGT +online version: +schema: 2.0.0 +--- + +# Get-FGTMonitorFirewallAddressDynamic + +## SYNOPSIS +Get Monitor Firewall Address Dynamic + +## SYNTAX + +``` +Get-FGTMonitorFirewallAddressDynamic [[-dynamic] ] [-skip] [-vdom ] [-connection ] + [-ProgressAction ] [] +``` + +## DESCRIPTION +Get Monitor Firewall Adresss Dynamic (addr, subtype...) + +## EXAMPLES + +### EXAMPLE 1 +``` +Get-FGTMonitorFirewallAddressDynamic +``` + +Get ALL Firewall Address Dynamic + +### EXAMPLE 2 +``` +Get-FGTMonitorFirewallAddressDynamic -dynamic mySDN +``` + +Get Firewall Address Dynamic of mySDN + +### EXAMPLE 3 +``` +Get-FGTMonitorFirewallAddressDynamic -vdom vdomX +``` + +Get Firewall Address Dynamic of vdomX + +## PARAMETERS + +### -dynamic +{{ Fill dynamic Description }} + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 2 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -skip +Ignores the specified number of objects and then gets the remaining objects. +Enter the number of objects to skip. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -vdom +{{ Fill vdom Description }} + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -connection +{{ Fill connection Description }} + +```yaml +Type: PSObject +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $DefaultFGTConnection +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS diff --git a/docs/Set-FGTFirewallAddress.md b/docs/Set-FGTFirewallAddress.md index ed83f213..c4ef2b72 100644 --- a/docs/Set-FGTFirewallAddress.md +++ b/docs/Set-FGTFirewallAddress.md @@ -56,6 +56,14 @@ Set-FGTFirewallAddress [-address] [-name ] [-mac ] [-connection ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` +### dynamic +``` +Set-FGTFirewallAddress [-address] [-name ] [-sdn ] [-filter ] + [-interface ] [-comment ] [-visibility ] [-allowrouting] [-data ] + [-vdom ] [-connection ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION Change a FortiGate Address (ip, mask, comment, associated interface... ) @@ -136,6 +144,14 @@ Change MyFGTAddress to set a new mac address 01:02:03:04:05:06 ### EXAMPLE 10 ``` +$MyFGTAddress = Get-FGTFirewallAddress -name MyFGTAddress +PS C:\>$MyFGTAddress | Set-FGTFirewallAddress -filter VMNAME=MyVM +``` + +Change MyFGTAddress to set a new filter VMNANME=MyVM + +### EXAMPLE 11 +``` $data = @{ "color" = 23 } PS C:\>$MyFGTAddress = Get-FGTFirewallAddress -name MyFGTAddress PS C:\>$MyFGTAddress | Set-FGTFirewallAddress -data $color @@ -280,6 +296,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -sdn +{{ Fill sdn Description }} + +```yaml +Type: String +Parameter Sets: dynamic +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -filter +{{ Fill filter Description }} + +```yaml +Type: String +Parameter Sets: dynamic +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -interface {{ Fill interface Description }}