SkillAgentSearch skills...

Fortigate2Excel

Parse a fortigate configurationfile and export it to Excel

Install / Use

/learn @skippernl/Fortigate2Excel
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Fortigate2Excel

Parse a fortigate configurationfile and export it to Excel Works with Excel Office365

.\Fortigate2Excel.ps1 -FortiGateConfig "c:\temp\config.conf" Parses a FortiGate config file and places the Excel file in the same folder where the config was found.

.\Fortigate2Excel.ps1 -FortiGateConfig "c:\temp\config.cred" Parses a saved credential file and places the Excel file in the same folder where the file was found. If the credential file does not exist you will be prompted for the information and the file is created

Optional flags -SkipFilter:$true Skipping the filter function in Excel for tables with more than one row.
-SkipFortiISDB:$true Skipping the Fortigate InternetServiceDatabase conversion to Text. -SkipTimeZone:$true Skipping the TimeZone conversion to Text.

Files with extention .conf are saved config files Files with extention .cred are saved credential files (IP/Username/Encryptedpassword) For each section that is found a new Tab will be created. It is VDOM aware.

Powershell version 7.1.0-preview.6 or newer recommended for performance reasons

Related Skills

View on GitHub
GitHub Stars46
CategoryDevelopment
Updated1mo ago
Forks13

Languages

PowerShell

Security Score

90/100

Audited on Mar 5, 2026

No findings