Skip to content

Instantly share code, notes, and snippets.

View gbudny93's full-sized avatar
😆
motivated

Grzegorz Budny gbudny93

😆
motivated
View GitHub Profile
@gbudny93
gbudny93 / Script_Template.ps1
Created February 3, 2020 13:10 — forked from 9to5IT/Script_Template.ps1
PowerShell: Script Template
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
@gbudny93
gbudny93 / RouterOS_Function_Template.rsc
Last active June 23, 2023 01:55
RouterOS_Function_Template.rsc
# RouterOS Function/Script
# Copyright (c) Grzegorz Budny
# Version 1.0
# Last update: 2/8/2020
# Description of this what script/function does
# Function definition
:global RouterOS_Function do={
# DEFINITIONS
@gbudny93
gbudny93 / FortiGate_AutoBackup.md
Last active August 4, 2022 10:50
FortiGate Auto Backup

FortiGate Automated Backup

FortiGate scheduled script for automated configuration backup to remote FTP server.

  • Interval must be defined in seconds.
  • Start auto means that schedule starts when job is created.
  • Repeat 0 means run always.
  • When no IPs defined on tunnel interfaces either define them or use public FTP Server IP when sending over VPN networks.

Example