PowerShell
PowerShell blog sharing useful tips and tricks to boost efficiency, published by Peter Whyte, an experienced Microsoft SQL Server Database Administrator.
-
AWS CLI: List All IAM Users in an Account
Managing AWS IAM (Identity and Access Management) users is essential for maintaining security and proper control over your AWS environment. The AWS CLI…
-
How to Install Oh My Posh on Windows
📜Part of the PowerShell Complete Guide, every PowerShell post on this site, grouped by the job you are doing. Oh My Posh is a prompt theme engine: it turns your PowerShell prompt into one that shows the folder, the Git branch and status, whether the last command failed, and more. To set it up on […]
-
How to Install Posh-Git on Windows With Chocolatey or Install-Module
Install posh-git on Windows with choco install poshgit or Install-Module posh-git, then see the Git branch and status right in your PowerShell prompt.
-
How to Install Chocolatey on Windows
This blog post is here to help you for installing Chocolatey on Windows using command (PowerShell).
-
Remove Quotes From CSV Files With PowerShell
This post explains how to remove quotes from a CSV file using PowerShell, a common requirement when working with CSVs that include unnecessary or problematic…
-
Fix “.ps1 cannot be loaded because running scripts is disabled on this system” in PowerShell
The PowerShell error "cannot be loaded because running scripts is disabled on this system", the one-line fix that needs no admin rights, and the npm.ps1, npx.ps1 and Activate.ps1 versions of it.
-
Test If a Port Is Open with PowerShell (Test-NetConnection)
Test-NetConnection -ComputerName server -Port 1433 checks a TCP port from PowerShell. How to read TcpTestSucceeded, get a plain True or False for scripts, test several ports, and what to use on old Windows.
-
How to Check Features Installed in SQL Server
This guide explains how to check which features are installed on a SQL Server instance.
-
Adding & Removing SQL Features via Command
This post will guide you on how to add and remove features from SQL Server via the command line. The process includes checking installed features, installing a…