Contents tagged with powershell
-
Backing up SQL Server to Azure storage
I've been looking at using the baked-in backup SQL to Azure blob storage feature to, well, backup some databases and have been thoroughly stumped! :( The SQL I've put together is:
IF EXISTS (SELECT 1 …
-
Link Dump
Things I've read recently that I want to keep track off, and perhaps comment on slighty.
PowerShell Tutorial – Try Catch Finally and error handling in PowerShell
I've recently been putting together …
-
Compressing directories to ZIP from PowerShell
A quick note to self about compressing folders using PowerShell, basically the trick is to use the ZipFile class from the System.IO.Compression.FileSystem assembly:
$directory = "C:\Path\To\ …