How to Find Unquoted Service Paths with PowerShell?

If you manage Windows systems—whether you’re a sysadmin, security analyst, or just someone who wants to keep their environment secure—there’s a surprisingly common vulnerability hiding in plain sight: unquoted service paths. In this tutorial, I will explain how to find unquoted service paths with PowerShell using different methods. But let us first understand why it … Read more

Why Does Windows PowerShell Keep Popping Up?

Why Does Windows PowerShell Keep Popping Up

If you’ve ever been working peacefully on your Windows PC only to have a blue PowerShell window suddenly flash on your screen—sometimes repeatedly—you know how frustrating it can be. Not only is it annoying, but it can also make you worry: “Is my computer infected? Did I break something?” The good news? We can fix … Read more

Find First Match in Array and Return Value in PowerShell

PowerShell Find First Match in Array and Return Value

One of our development team members was struggling to find the first match value in a PowerShell array. I suggested different methods, so I thought I would share those examples. In this tutorial, I will explain how to find the first match in an array and return the value in PowerShell using several methods with … Read more

PowerShell Convert Byte Array to Hex String

PowerShell Convert Byte Array to Hex String

As a PowerShell expert, I’ve encountered many scenarios involving converting byte arrays to hexadecimal strings. In this complete tutorial, I’ll walk you through multiple methods to convert byte arrays to hex strings in PowerShell with practical examples. Let me first explain about byte arrays and hexadecimal representations. A byte array is a collection of bytes … Read more

PowerShell Find Location of Executable

PowerShell Find Location of Executable

If you’re working on Windows and using PowerShell, you’ve likely encountered situations where you need to find the exact location of an executable file on your system. This tutorial will guide you through multiple methods to find the location of an executable using PowerShell. I will explain step by step. When you type a command … Read more

How to Find Ports in Use using PowerShell?

Find Ports in Use using PowerShell

Recently, while troubleshooting network connectivity issues, I needed to know which ports are in use. You can easily do this using Microsoft PowerShell. In this tutorial, I will explain to you how to find ports in use using PowerShell using various methods. What Are Ports? A port is a communication endpoint used by networked applications … Read more

PowerShell Find IP from MAC Address

PowerShell Find IP from MAC Address

Do you want to find an IP address from a MAC address using PowerShell? I will explain in detail how to find it with examples. You will learn how to map MAC addresses to IP addresses on your local network using PowerShell. What Are MAC and IP Addresses Let me explain first the difference between … Read more

How to Get Last Reboot Time Using PowerShell?

Get Last Reboot Time Using PowerShell

Are you looking for the last reboot time on your Windows? You can easily find using PowerShell. In this detailed tutorial, you will learn how to get the last reboot time of your Windows computer using PowerShell. There are multiple ways to retrieve the last reboot time in PowerShell. Here are a few useful ones. … Read more

PowerShell Get-Date -UFormat Examples

PowerShell Get-Date -UFormat

In this tutorial, I will explain how to use the PowerShell Get-Date -UFormat with some useful examples. The -UFormat parameter provides Unix-style formatting capabilities that help customize date and time output. PowerShell Get-Date -UFormat The -UFormat parameter in PowerShell’s Get-Date cmdlet allows you to format dates using Unix-style format specifiers. This approach gives you granular … 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.