Author: Peter Whyte
-
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.
-
Creating a Linked Server with a MySQL Database
This is my third Linked Server demo post, and this time, we’re connecting to a MySQL database.
-
Check & Restart SQL Server Services on Linux
As of the 2017 Edition of SQL Server we have been able to install SQL Server on Linux. Linux will likely be more of an unfamiliar environment for traditional…
-
“Changing the Primary Domain DNS Name of This Computer Failed” When Joining a Domain
🛠️Part of the Windows Administration Complete Guide, every Windows administration post on this site, grouped by the job you are doing. This error appears when Windows cannot finish joining a computer to a domain, or cannot change the domain it is already in: Changing the Primary Domain DNS name of this computer to “” failed. […]
-
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 Apply Force Encryption in SQL Server
If you’re planning to allow external connections to a SQL Server, one of the first security measures to implement is encryption, both at rest and in transit.
-
Include Execution Trace Messages in SQL Server Error Logs
Execution trace messages in SQL Server Agent error logs can be helpful for diagnosing issues. This guide explains how to enable this option.
-
How to Backup a SQL Server Certificate
Backing up SQL Server certificates is essential if you use them, especially for encrypted database backups that may need restoration on another server.
-
How to Check Features Installed in SQL Server
This guide explains how to check which features are installed on a SQL Server instance.