PowerShell
PowerShell blog sharing useful tips and tricks to boost efficiency, published by Peter Whyte, an experienced Microsoft SQL Server Database Administrator.
-
PowerShell For Each Loop Example
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…
-
How to Check Windows Firewall Status with PowerShell
Want to quickly check whether your Windows Firewall is enabled or disabled? This guide shows you how to use PowerShell to get the status of your local Windows…
-
How to Enable Windows Firewall with PowerShell (Set-NetFirewallProfile)
Run Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True in an admin PowerShell window, then check with Get-NetFirewallProfile. What to check first, and what stops working once it is on.
-
How to Disable Windows Firewall with PowerShell
This post provides a demo on how to disable Windows Firewall with PowerShell on a Windows computer.
-
The Best Terminal for Windows
The best terminal for Windows is Windows Terminal. How to open it from Start, and what you get: tabs, a profile for every shell, shortcuts, split panes and the command palette.
-
Advanced File and Folder Creation with PowerShell
This post contains an advanced guide for creating and managing files and folders in PowerShell. It builds on the basics introduced in my previous post…
-
How to Manage S3 Buckets with the AWS CLI
This is a post on how to help manage S3 Buckets with AWS CLI, and to help explain some local Operating System (OS) considerations when running such commands.
-
Managing Old Files with PowerShell
Managing disk space is a common task for IT professionals, especially when dealing with folders that accumulate temporary or outdated files. Using simple…
-
Get-EventLog in PowerShell 7: Use Get-WinEvent Instead
Get-EventLog is not part of PowerShell 7. The Get-WinEvent command for each common Get-EventLog job: listing logs, counting by source, filtering by source or message, the full message, and the parameter names that changed.