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

How to Find SQL Server Instances using PowerShell?

Recently, in our project, we wanted to retrieve all SQL Server instances across your network. I suggested using PowerShell for this. In this tutorial, I will explain to you how to find SQL Server instances using PowerShell, step by step. Before you start, make sure you have: You can install the SQL Server module by … Read more

How to Enable BitLocker with PowerShell?

Data security is more critical than ever. With cyber threats on the rise, encrypting your drives using BitLocker is one of the most effective ways to protect sensitive data on Windows devices. While you can enable BitLocker through the Windows GUI, PowerShell provides a faster, more flexible, and automatable method—perfect for IT professionals and system … Read more

PowerShell Get-WindowsAutoPilotInfo

If you’re an IT administrator or systems engineer managing Windows devices in an enterprise environment, Windows Autopilot is one of the most powerful tools for modern device deployment. It streamlines the setup process for new Windows devices, ensuring they are pre-configured, secure, and ready for use straight out of the box. A key step in … Read more

How to Find OU of a Computer Using PowerShell?

As an IT administrator or systems engineer, one of the most common Active Directory (AD) management tasks is identifying which Organizational Unit (OU) a computer belongs to. In this tutorial, I’ll explain to you multiple methods to find a computer’s OU using PowerShell. What Is an OU? An Organizational Unit (OU) in Active Directory is … Read more

RPC Server is Unavailable Error in PowerShell

The “RPC Server is Unavailable” error in PowerShell can occur when your PowerShell session cannot establish a Remote Procedure Call (RPC) connection to a target machine. RPC (Remote Procedure Call) is a Windows service that enables communication between processes on different computers across a network. When PowerShell throws this error, it typically appears as: This … Read more

PowerShell Kill Process by Name [using Various Methods]

powershell kill process by name

Do you need to kill processes by name using PowerShell? Whether a program freezes, consumes too much CPU, or you need to automate cleanup tasks, PowerShell provides a powerful and flexible way to manage processes — far beyond what Task Manager offers. In this tutorial, you’ll learn how to kill a process by name 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.