View AwsDnsBackup.ps1
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
if ($null -eq (Get-Module -Name AWSPowerShell)) { | |
Import-Module AWSPowerShell | |
} | |
$AwsDnsBucketName = "NAME_OF_AWS_BUCKET" | |
$AwsCredProfileName = "NAME_OF_AWS_PROFILE" | |
$SmtpServer = "SMTP_SERVER" | |
$FromAddress = "FROM_ADDRESS" | |
$ToAddress = "RECIPIENT_ADRESS" |
View DHCPUtility.ps1
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
function Import-RemoteDhcpServerModule { | |
param ( | |
$server | |
) | |
$Error.Clear() | |
Write-Output "`nCreating remote session to $server..." | |
try { |