Author: Peter Whyte
-
CIDR to Subnet Mask Conversion Table
This blog post provides a quick reference table for CIDR notation, subnet masks, and host counts, making it a valuable tool for tasks like configuring security…
-
Removing Quotes from all CSV Files in a Directory
Managing CSV files often involves cleaning up data before processing. A common task is removing unwanted quotation marks from the contents of CSV files.
-
Keeping SQL Server and Critical Systems Up to Date
Applying the latest patches to SQL Server, Windows OS, and underlying hardware is a vital part of maintaining secure, high-performing systems. For many…
-
How to Set the Default Database for SQL Server Users
This blog post contains a quick guide on how to set your default database in SQL Server using SQL Management Studio.
-
Time To Revive This Blog
As per title, I'm keen to revive this blog here at https://peter-whyte.com. I haven't been publishing regularly for over a year, and it's been many years since…
-
How to Get and Set Environment Variables in PowerShell
Environment variables store key information on your system that programs can use to influence their behavior. For example, the AWS CLI uses the AWS_REGION…
-
How to Get Environment Variables on Windows
Environment variables in Windows contain information about the system’s environment, such as the directories containing executables or the system’s PATH. Programs can use these variables to find resources on the computer. They can be set at the system level or for individual user accounts and can be modified through the Control Panel or the command […]
-
Git Log by Author
Filter git log by author, why anchoring with $ returns nothing, and counting commits.
-
Git Log Command Examples
Git log is an essential command when working with git version control. It allows you to see the history of a repository, including details about each commit like the author, date, and commit message. It lets you know what’s changed, when it changed and by who. In this post I’m sharing some examples of using […]