PowerShell
PowerShell blog sharing useful tips and tricks to boost efficiency, published by Peter Whyte, an experienced Microsoft SQL Server Database Administrator.
-
Install/Uninstall SQL Server via Command
Installing and uninstalling SQL Server via command line can be useful, especially in environments without a GUI.
-
Guide for Setting Up Windows Server Core
When you need to setup Windows Server Core, it's useful to first familiarize ourselves with the key PowerShell commands that configure the server.
-
Updating Help Documentation in PowerShell
Keeping your PowerShell help documentation up to date ensures you always have the latest guidance and reference materials for installed modules. The…
-
Count Rows in CSV Files with PowerShell
Count the rows in every CSV file in a folder with PowerShell: Import-Csv for an exact record count, a streamed line count for large files, and checks for blank lines and "rows affected" footers.
-
Show Available Disk Space in SQL Server
This blog post is to share a script that you can run in SQL Server (versions 2008 R2 and above) which shows the available disk space for all local volumes on a…