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

How to Uninstall a Program with PowerShell?

Uninstall a Program with PowerShell

If you are an IT administrator, you might get requirements to uninstall software from single and multiple computers. This is possible using a PowerShell script. In this tutorial, I will explain how to uninstall a program using PowerShell. You can uninstall programs through the control panel, but it is time-consuming, especially when dealing with multiple … Read more

How to Uninstall Microsoft Edge Using PowerShell?

Uninstall Microsoft Edge Using PowerShell

In this tutorial, I will explain how to uninstall Microsoft Edge using PowerShell. If you want to remove Microsoft Edge from your Windows 10 or Windows 11 system, this step-by-step guide will help you do that. I recently did this for my organization. Uninstall Microsoft Edge Using PowerShell Microsoft Edge is the default web browser … Read more

How to Set Proxy in PowerShell?

How to Set Proxy in PowerShell

If you are an IT administrator, this tutorial will be very useful. In this tutorial, I will explain how to set up a proxy in PowerShell. Proxy is helpful for network management, security, and accessing web resources from behind a firewall. Whether you’re an IT professional working in a corporate environment or a developer needing … 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.