- 02 Feb 2024
- 1 Minute to read
- Print
- PDF
Display Firewall profile for Windows devices
- Updated on 02 Feb 2024
- 1 Minute to read
- Print
- PDF
For an IT Admin, understanding firewall profile details proves beneficial when addressing firewall-related challenges and ensuring adherence to organizational policies. It provides valuable insights for troubleshooting issues and validating compliance with established security protocols.
The following PowerShell script helps the IT Admins to to retrieve and present all the firewall configuration information for the current system.
Create a file on your desktop, for example, display_all_firewall_rules. ps1 and open it in a text editor like notepad++
Copy the contents below to the file or click here to download the file.
netsh advfirewall firewall show rule name=all
Follow our guide to upload & publish the PowerShell script using Scalefusion Dashboard.
Once the script is executed successfully you will be able to see the details in the Output tab in the View Status report on the Scalefusion dashboard.
Please note that to use the PowerShell scripts, the Scalefusion MDM Agent Application must be installed on the device(s). Please follow our guide to publish and install the Scalefusion MDM Agent Application.
Notes:
The scripts and their contents are sourced from various albeit authenticated Microsoft sources and forums.
Please validate the scripts on a test machine before deploying them on all your managed devices.
Scalefusion has tested these scripts, however, Scalefusion will not be responsible for any loss of data or system malfunction that may arise due to the incorrect usage of these scripts.