Usage: show mainmode rule name= profile=public|private|domain|active|any[,. verbose Remarks: - Displays the Main mode Security ...

Usage: show mainmode 
       [rule
           name=
           [profile=public|private|domain|active|any[,...]]
       ]
       [verbose] 


Remarks:

      - Displays the Main mode Security configuration for all 
        available network profiles 
      - The [profile=] command enables the administrator to filter 
        the output to specific profiles on the system or to only 
        return results from Active or Inactive profiles 
      - The [rule] command allows the administrator to scope the rule 
        output to certain rule names and status to scope the output 
      - The Verbose command adds support for displaying detailed 
        security and advanced rule 'source name' information 

Examples:

      Display the current main mode information for public profie: 
      netsh advfirewall monitor show mainmode rule name=all profile=public