This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###Network Policy Server Synchronization Script | |
#This script copies the configuration from the NPS Master Server and imports it on the secondary server. | |
#The Account that this script runs under must have Local Administrator rights to the NPS Master. | |
#This was designed to be run as a scheduled task on the NPS Secondary Servers on an hourly,daily, or as-needed basis. | |
# Modified from https://deployhappiness.com/two-network-policy-server-tricks-subnets-and-syncing/ | |
###Variables | |
#NPSMaster - Your Primary Network Policy Server you want to copy the config from. | |
$NPSMaster = "adds0.corp.contoso.com" | |
$NPSSecondary = "adds1.corp.contoso.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# iperf advanced bandwidth test tool | |
# | |
# chkconfig: - 90 60 | |
# description: iperf is an advanced bandwidth test tool | |
# processname: iperf | |
# pidfile: /var/run/iperf.pid | |
# Source function library. | |
. /etc/init.d/functions |