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 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

Is PowerShell a Programming Language?

Is PowerShell a Programming Language

One of my USA-based clients recently asked me a question: “Is PowerShell a programming language?” I took the time to explain in detail. You will find the answer in this tutorial. I will explain here what makes PowerShell unique, why it’s considered both a scripting and programming language, and how you can leverage its power. … Read more

PowerShell Regex – How to Use With Examples

PowerShell Regex

Regular expressions (regex) are used for pattern-matching in PowerShell. As a PowerShell developer or an administrator, you should know how to use Regex in PowerShell. In this tutorial, I will explain everything about PowerShell Regular Expressions (Regex) with examples. Regular Expressions (Regex) in PowerShell PowerShell leverages the .NET regex engine to provide robust pattern-matching capabilities. … Read more

How to Check PowerShell Version?

How to Check PowerShell Version

There are many features that may only work in a specific PowerShell version. As a PowerShell administrator, you should know the exact version of PowerShell installed in the OS before running any script. In this tutorial, I will explain how to check the PowerShell version using several methods. To check the PowerShell version in the … Read more

PowerShell Not Equal [With Examples]

Powershell Not Equal

When working with PowerShell, you should know how to check if values aren’t equal most of the time. PowerShell’s not equal operator, written as -ne, compares two values and gives you $true when they don’t match. The -ne operator is one of PowerShell’s most useful comparison operators because it lets you filter out unwanted data … Read more

PowerShell Start-Process [With Real-World Examples]

PowerShell Start-Process

When working with PowerShell, I often need to launch external applications or processes. For these kinds of requirements, you can use the Start-Process cmdlet. In this tutorial, I will explain everything you need to know about the PowerShell Start-Process cmdlet, including various parameters, practical examples, and common troubleshooting tips. What is Start-Process in PowerShell? The … Read more

PowerShell For Loop With Index and Range Examples

powershell for loop with index and range example

In the previous tutorial, we discussed the PowerShell for loop. Now, I will show you some more advanced examples, known as PowerShell for loop with index and range examples. In this tutorial, I will show you some practical examples of using for loops with indexes and ranges in PowerShell, along with various techniques I’ve learned … Read more

PowerShell Throw Exception with Message

PowerShell Throw Exception with Message

Proper error handling is absolutely critical when developing PowerShell scripts, especially for production environments. One of the most powerful error handling techniques in PowerShell is throwing exceptions with custom messages. Over my years working with PowerShell, I’ve found that a PowerShell script should show proper exception messages, which can save hours of troubleshooting time. In … 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.