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
############## Setup ############## | |
$AGName = '' | |
$AGPrimary = '' | |
$AGSecondary = '' | |
# This allows you to process just a subset of databases using the name (wildcards are possible) | |
$DBNamePattern = 'AdventureW*' | |
$TargetFolder = 'K:\Data\' |
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
Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install chocolatey -y | |
#Dell cruft | |
choco install dellcommandupdate -y | |
#General Tools | |
choco install sql-server-management-studio -y | |
choco install azure-data-studio -y |