Skip to content

Instantly share code, notes, and snippets.

View sql-williamd's full-sized avatar

William Durkin sql-williamd

View GitHub Profile
############## 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\'
@sql-williamd
sql-williamd / dell_chocolatey.ps1
Last active December 10, 2019 22:12
Chocolatey file to setup my DELL xps13
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