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

How to Use PowerShell Select-String Not Contains?

PowerShell Select-String Not Contains

As a PowerShell expert with over 15 years of experience in various Fortune 500 companies, I’ve found that text filtering is very useful in automation and scripting. Filtering out unwanted text patterns is particularly valuable when analyzing logs, configuration files, or any text-based output in Windows environments. The ability to exclude specific patterns can dramatically … Read more

PowerShell Curl [Guide to Web Requests in PowerShell]

In this tutorial, I’ll walk you through everything you need to know about making web requests in PowerShell – from basic GET requests to complex API interactions with authentication. If you’re working in a Windows environment and need to interact with web services or APIs, then you can use PowerShell’s web request capabilities. While Linux … 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.