How to Check Hard Drive Space using PowerShell?

powershell check hard drive space

As a system or PowerShell administrator, you might need to monitor disk space, whether on a single PC or across hundreds of servers. In this tutorial, you’ll learn how to check hard drive space using PowerShell on Windows 10, Windows 11, and Windows Server. Before running PowerShell commands: Now, let me show you different methods … Read more

PowerShell Get-ChildItem Filter Examples

PowerShell Get-ChildItem Filter Examples

If you’ve ever needed to list, search, or filter files and folders in Windows PowerShell, you’ve probably used the Get-ChildItem cmdlet — often abbreviated as gci. This PowerShell command is useful for navigating the file system, filtering files by extension, size, and date, and even using wildcards or regular expressions. In this tutorial, we’ll explore … Read more

How to Get .NET Version Using PowerShell?

Get NET Version Using PowerShell

If you’re a system administrator, developer, or IT professional working on Windows systems, then you might need to know which .NET versions are installed on your machine. PowerShell provides different ways to check the installed .NET Framework and .NET (Core/5+) versions. In this tutorial, you’ll learn how to get the .NET version using PowerShell — … Read more

PowerShell New Line in String

powershell new line in string

When writing PowerShell scripts, one of the most common tasks you’ll encounter is formatting text output. Whether you’re sending messages to the console, writing logs to a file, or generating reports, adding a new line (or line break) is essential for readability and structure. In this tutorial, we’ll explore multiple ways to add a new … Read more

How to Pass Variables to a PowerShell Script?

If you’re working with PowerShell regularly—whether for system administration, DevOps automation, or cloud management—you’ve likely encountered a situation where you need to make your scripts more dynamic. Instead of hardcoding values, you can pass variables to a PowerShell script at runtime. In this detailed tutorial, you’ll learn multiple ways to pass variables to PowerShell scripts, … Read more

How to Convert Char to Int using PowerShell

Convert Char to Int using PowerShell

Characters are stored internally as numeric codes—usually Unicode or ASCII values—and sometimes you need these numbers. For example, you might need to convert the letter ‘A’ into its numeric value 65 when preparing data for encryption or checking character ranges. In this tutorial, I explain multiple methods for converting characters into integers in PowerShell with real examples. Characters and … Read more

How to Convert String to Decimal in PowerShell

PowerShell convert string to decimal examples

Recently, I was processing a user input in a PowerShell script where I wanted to convert a string to a decimal value. In this tutorial, I will explain how to convert a string to a decimal in PowerShell using different methods with examples. PowerShell is a dynamically typed language, which means variables don’t require explicit … Read more

How to Convert Unicode to ASCII using PowerShell

Convert Unicode to ASCII using PowerShell

When working with text processing, data migration, or system integration in PowerShell, encoding challenges often arise. Unicode is now the default for most systems and applications. However, situations may require conversion to ASCII—for instance, when supporting legacy applications, cleaning data, or prepping information for APIs that cannot handle special characters. In this tutorial, I will … Read more

How to Convert HEIC to JPG using PowerShell

If you’ve ever tried to open your iPhone photos on a Windows PC, you might’ve encountered that mysterious .heic extension. It is not always easy to work with outside the Apple ecosystem. If you are looking for an easy way to convert those HEIC files to the more universally friendly JPG format, you’ve come to the right … Read more

How to Convert JSON to XML using PowerShell?

Convert JSON to XML using PowerShell

JSON (JavaScript Object Notation) and XML (eXtensible Markup Language) are two widely used data formats in modern IT environments. However, we often need to convert JSON files to XML files using PowerShell. This tutorial explains how to convert JSON to XML using PowerShell, and I will cover step-by-step instructions, practical examples, and common mistakes that … 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.