Installing DBATools Offline

Chrissy LeMaire shows how to save the dbatools module to install it offline:

There are essentially 3 ways to get the zip of our module

  1. From PowerShell Gallery using Save-Module

  2. From PowerShell Gallery by downloading from powershellgallery.com/api/v2/package/dbatools

  3. By downloading from dbatools.io/zip

Read on to see examples for each of the three methods.

Related Posts

Automating Data Importation With dbatools

Bob Pusateri shows how to keep a dataset up to date using Powershell and dbatools: Now for the magic – let’s load some data! The dbatools command that does all the heavy lifting here is called Import-DbaCsvToSql. It loads CSV files into a SQL Server table quickly and easily. As an added bonus, the entire import […]

Read More

Type Information Change In Export-CSV Cmdlet

Max Trinidad notes that a default parameter in the Export-Csv cmdlet has flipped between Powershell on Windows and Powershell Core 6: For a long time, in Windows PowerShell, we had to add the parameter “-NoTypeInformation“, so the “#TYPE …” line on the first row of the *CSV would not be included. So, in Windows PowerShell executing the command […]

Read More

Categories

July 2017
MTWTFSS
« Jun Aug »
 12
3456789
10111213141516
17181920212223
24252627282930
31