en-us/about_FortigateManagerFilter.help.txt

TOPIC
    about_FortigateManagerFilter
 
SHORT DESCRIPTION
    Explains how to use the filter parameters of Get-FM* functions
 
LONG DESCRIPTION
    If you want to use a filter parameter you have to supply (an array of)
    strings in the following format:
    "{attribute} {operator} {value}"
 
    - The attribute depends on the object model you are querying.
    - the operator is one of the following:
      -eq
      -like (use % (multi) and _ (single char) as a wildcard)
      -contain
      -ne
      -notlike
      -in (value can be a comma-separated list, e.g. "name -in a,b,c")
      -notin (value can be a comma-separated list, e.g. "name -notin a,b,c")
    - The value is the value used for filtering
 
    Example:
    Get-FMAddress -Filter "name -eq srv123","name -like %.mydomain.com","name -in host1,host2"
 
KEYWORDS
    Fortigate, Filter