PowerShell ForEach Loop Tutorial
Looping is a fundamental concept in PowerShell, and in programming in general. It’s needed for various situations where we need to work with one object at a time within an array/collection of objects.
Looping is a fundamental concept in PowerShell, and in programming in general. It’s needed for various situations where we need to work with one object at a time within an array/collection of objects.
This post is a guide on how to check what service is running for a TCP or UDP port on a Windows host computer.
Measuring databases is important for knowing how much disk space a SQL Server requires today, as well as the future growth of the database files.
This post contains a demo on how to backup a SQL Server Database and includes some information on the types of backups available in MS SQL.
This post contains a SQL script to get estimated completion times and process information for your currently running database backups &
This is a post on how to get the last backup dates and times for all databases on a SQL Server Instance.
This post will help you to check your local Windows Firewall status using PowerShell (whether it’s off or on for each Profile).
This post is contains a demo on how to enable Windows Firewall with PowerShell in Windows Server. This might be needed if you have discovered Windows Firewall is disabled on your or multiple computers, or you might want to re-enable it after disabling this for a test (see my other post on disabling instead of enabling).
This post contains a demo on how to disable Windows Firewall with PowerShell on a Windows computer. Disabling the Local Firewall on Windows is not a recommended move, and it will ultimately make your computer less secure.
This is a post to share an opinion on the best Terminal for Windows 2022. The answer to all our needs in the year 2022 is Windows Terminal.
To reboot WSL, run wsl --shutdown to stop WSL distros then enter back into WSL as you normally would to start it back up again.
In this post, I share a script that will help you create folders and sub-folders with PowerShell if they do not already exist.