Skip to content

Instantly share code, notes, and snippets.

@alan-finn
alan-finn / AwsDnsBackup.ps1
Last active May 2, 2019
Powershell wrapper for the cli53 utility to backup Route53 zones.
View AwsDnsBackup.ps1
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"
@alan-finn
alan-finn / DHCPUtility.ps1
Last active Apr 5, 2019
Menu wrapper for a few DHCP cmdlets
View DHCPUtility.ps1
function Import-RemoteDhcpServerModule {
param (
$server
)
$Error.Clear()
Write-Output "`nCreating remote session to $server..."
try {
You can’t perform that action at this time.