https://github.com/skippernl/Fortigate2Excel
Parse a fortigate configurationfile and export it to Excel
https://github.com/skippernl/Fortigate2Excel
Last synced: 5 months ago
JSON representation
Parse a fortigate configurationfile and export it to Excel
- Host: GitHub
- URL: https://github.com/skippernl/Fortigate2Excel
- Owner: skippernl
- License: gpl-3.0
- Created: 2019-11-25T11:27:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-12T10:07:06.000Z (5 months ago)
- Last Synced: 2024-11-12T11:19:33.656Z (5 months ago)
- Language: PowerShell
- Size: 109 KB
- Stars: 34
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - skippernl/Fortigate2Excel - Parse a fortigate configurationfile and export it to Excel (PowerShell)
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