PowerShell Greater Than or Equal

PowerShell Greater Than or Equal

Are you wondering how to compare values in PowerShell to see if they’re greater than or equal? You can do this by using the -ge operator in PowerShell. In this tutorial, I will explain everything you need to know about using “greater than or equal” in PowerShell. You will see some real examples. What Is … Read more

How to List Hidden Files in PowerShell?

List Hidden Files in PowerShell

Do you want to find hidden files on your Windows workstation—maybe in your C:\Users\Public\Documents or a project folder in C:\Projects\USA? PowerShell offers several commands to locate hidden files. In this tutorial, I’ll show you step-by-step how to list hidden files using PowerShell using different methods. Hidden files are often system files or configuration files that … Read more

How to List Running Services in PowerShell

List Running Services in PowerShell

Are you trying to identify which services are running on your Windows systems? You can use PowerShell for this. In this tutorial, I will explain how to list running services in PowerShell. Method 1: List All Running Services on Your Local Machine using Get-Service The most direct way to list running services in PowerShell is … Read more

How to List Local Users with PowerShell

List Local Users with PowerShell

Have you ever needed to view all the local users on your Windows machine quickly? You can achieve this using Microsoft PowerShell. In this tutorial, I will explain several proven PowerShell methods to list local users from your Windows machine. Method 1: Using the Get-LocalUser Cmdlet The most straightforward way to list local users is with the … Read more

PowerShell Format-List [Tutorial With Examples]

PowerShell Format-List

Do you want to format the output from a PowerShell cmdlet? The answer is the PowerShell’s Format-List cmdlet. With Format-List, you can transform complex output into a clean, readable list that highlights every property you care about. In this tutorial, I will explain exactly how to use Format-List in PowerShell with practical, real-world examples. What … Read more

How to List Installed PowerShell Modules

powershell list installed modules

One of my client recently wanted to get the installed modules from their system. It is easy to achieve using PowerShell. In this tutorial, I will explain how to list installed PowerShell modules using different methods, especially using the Get-Module cmdlet with -ListAvailable parameter. Method 1: Using Get-Module -ListAvailable One of the most reliable ways I … Read more

PowerShell Select-String -AllMatches Examples

powershell select string allmatches example

One of the most helpful parameters of the Select-String PowerShell cmdlet is -AllMatches, which allows you to capture multiple occurrences of a pattern within a single line. Without this parameter, PowerShell will only return the first match it finds on each line. In this tutorial, I will explain everything you need to know about using … Read more

PowerShell Select-String Plus Next Lines

PowerShell Select-String Plus Next Lines

When working with PowerShell, one of the most common tasks I encounter is searching through text files or command outputs to find specific patterns. As a PowerShell developer, you can use the Select-String cmdlet for this purpose. However, many IT professionals struggle when they need to see not just the matching line, but also the … Read more

PowerShell Select-String Exact Match

PowerShell Select-String Exact Match

When I started working with PowerShell in large U.S. organizations, we were primarily required to search through massive log files. For these things, you can use the Select-String cmdlet in PowerShell. In this tutorial, I will explain everything about the PowerShell Select-String exact match with some examples. I will show you different methods to perform … Read more

PowerShell Select-String with Multiple Patterns Examples

PowerShell Select-String with Multiple Patterns

In this tutorial, I will explain everything about PowerShell Select-String with multiple patterns with some examples. You will learn how to use Select-String with multiple patterns. Understanding Select-String Basics Select-String is a cmdlet that uses regular expression matching to search for text patterns in input strings and files. It’s similar to grep in Unix or … Read more

100 PowerShell cmdlets download free

100 POWERSHELL CMDLETS E-BOOK

FREE Download an eBook that contains 100 PowerShell cmdlets with complete script and examples.