How to Create a GUID in PowerShell?

Create a GUID in PowerShell

Most of the time, you will work with GUIDs as an administrator or developer. So, it is important for you to understand how to generate GUIDs in PowerShell. In this tutorial, I will explain how to create a Globally Unique Identifier (GUID) using PowerShell with some examples. What is a GUID? A GUID (Globally Unique … Read more

How to Find All Files with a Specific Extension Using PowerShell?

Find All Files with a Specific Extension Using PowerShell

Recently, I got a requirement to list down all files with a particular extension across multiple directories on our company’s file servers. It is easy to achieve this using PowerShell. In this tutorial, I will explain how to find all files with a specific extension using PowerShell with examples. Find All Files with a Specific … Read more

How to Find and Remove Empty Folders Using PowerShell?

Find Empty Folders with PowerShell

Recently, I got a requirement from a client to remove empty folders from a drive using PowerShell. In this tutorial, I will explain how to find empty folders on your Windows computer using PowerShell. PowerShell provides different ways to find empty folders on your system. By running a simple command or script, you can quickly … Read more

How to Rename a Folder in PowerShell if It Exists?

Rename a Folder in PowerShell if It Exists

Recently, I got a requirement to rename a backup folder if it existed before running a script to create a new backup. In PowerShell, it is easy to do. In this tutorial, I will explain how to rename a folder in PowerShell if it exists. First, we will check if a folder exists using PowerShell … Read more

How to Find Logged In User Using PowerShell?

Find Logged In User using PowerShell

One of my team members recently asked me for a PowerShell script to get the logged-in user name. In this tutorial, I will explain how to find the logged-in user on a Windows machine using PowerShell. Note: You need to have administrator privileges to execute the commands. Find Logged In User using PowerShell Now, let … Read more

How to Find Installed Software Using PowerShell?

Find Installed Software Locally using PowerShell

As a system administrator, I manage multiple computers in the organization. Recently, I got a requirement to find software installed in a system. In this tutorial, I will explain how to find installed software using PowerShell. Note: You need to have administrative privileges on the system where you want to find software installed. Find Installed … Read more

How to Find The Largest Folders Using PowerShell?

Find the Largest Folders Using PowerShell

One of my team members recently asked me for a script to find the largest folders using PowerShell. I thought I would explain step by step. Since we wanted to manage disk space, it is important to find files and folders that accumulate and consume valuable disk space. In this tutorial, I will explain how … Read more

How to Use PowerShell to Find Files Modified After a Certain Date?

Find Files Modified After a Certain Date using PowerShell using Get-ChildItem

In this tutorial, I will explain how to use PowerShell to find files modified after a specific date. This is a common task for system administrators and IT professionals who must efficiently manage and audit file systems. By using PowerShell, you can automate this process and save significant time and effort. Find Files Modified After … Read more

How to Enable WinRM (Windows Remote Management) Using PowerShell?

Enable WinRM Using PowerShell

WinRM is a powerful tool that allows you to manage and configure remote Windows computers securely. In this tutorial, I will explain how to enable WinRM (Windows Remote Management) using PowerShell. Let me show you examples. What is WinRM? WinRM is a protocol that allows you to interact with remote computers using a set of … Read more

How to Enable Remote Desktop Using PowerShell?

Enable Remote Desktop Using PowerShell

Recently, one IT team member asked about a PowerShell script to enable remote desktops. In this tutorial, I will explain how to enable Remote Desktop (RDP) using PowerShell with detailed steps. Enable Remote Desktop Using PowerShell Remote Desktop is useful for administrators and users who need to access their computers remotely. Using PowerShell to enable … 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.