PowerShell Send Email to Multiple Recipients

PowerShell Send Email to Multiple Recipients

One of my clients recently asked us to send the server log files via email to multiple recipients. So, I suggested using PowerShell’s Send-MailMessage cmdlet to send emails to multiple recipients. In this tutorial, you’ll learn how to send emails to multiple recipients using PowerShell, how to include CC/BCC, attachments, and even how to use … Read more

How to Check if a Module Is Installed using PowerShell?

Check if a Module Is Installed using PowerShell

In PowerShell, modules are the building blocks that extend its functionality. Whether you’re managing Azure, Active Directory, or automating Windows tasks, modules provide reusable commands and scripts that make your job easier. But before using a module, you often need to check if it’s installed — especially when running scripts across multiple systems or CI/CD … Read more

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

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

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

Convert Bytes to GB in PowerShell

Convert Bytes to GB in PowerShell

If you’ve spent any time working with files or data—whether it’s in a spreadsheet, an enterprise database, or server logs—you’ve probably run into numbers that just don’t make immediate sense. File sizes like “8388608” or “10737418240” appear everywhere, but without some context, it’s tricky to see how they relate to your storage or daily tasks. … Read more

PowerShell Convert XML to Object

powershell convert xml to object examples

Working with XML data is a common task for system administrators, developers, and IT professionals. Whether you are dealing with configuration files, API responses, or exported reports, XML is still widely used for structured data storage and transfer. In PowerShell, XML can be directly converted into objects, which makes working with data much easier. Instead … Read more

Measure-Object in PowerShell [With Examples]

Measure-Object in PowerShell

PowerShell’s Measure-Object cmdlet is a powerhouse for quickly analyzing data—be it counting items, calculating sums and averages, or measuring the length of strings and text files. Whether automating reporting or data aggregation tasks, mastering this cmdlet brings clarity and conciseness to scripts. What is Measure-Object in PowerShell? Measure-Object is a built-in cmdlet used to calculate numeric and statistical … 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.