How to Find Passwords in Files with PowerShell?

Let’s be honest: people still store passwords in plain text files. I’ve seen it countless times — a “passwords.txt” sitting on someone’s desktop, a Word doc named “Important Logins.docx,” or configuration files with hardcoded credentials. It’s a security nightmare waiting to happen. But you can use PowerShell to scan directories quickly and identify potential security … Read more

How to Find a Folder by Name in PowerShell?

Find a Folder by Name in PowerShell

If you’re a Windows administrator, DevOps engineer, or IT professional, you’ve probably needed to locate a folder buried deep within a directory structure. Manually doing this is really tough. So, you can use PowerShell for this. In this tutorial, you’ll learn how to find a folder by name using PowerShell, step‑by‑step with real examples. The … Read more

PowerShell Get-ChildItem Files Only [with Practical Examples]

PowerShell Get-ChildItem Files Only

As a PowerShell expert with over a decade of experience, I’ve seen countless scenarios where administrators need to retrieve only files from directories while excluding folders. When working with file system operations, you’ll often need to list files only without including directories in your results. You can do this using the Get-ChlidItem PowerShell cmdlet. In … Read more

PowerShell Get-ChildItem Filter Examples

PowerShell Get-ChildItem Filter Examples

If you’ve ever needed to list, search, or filter files and folders in Windows PowerShell, you’ve probably used the Get-ChildItem cmdlet — often abbreviated as gci. This PowerShell command is useful for navigating the file system, filtering files by extension, size, and date, and even using wildcards or regular expressions. In this tutorial, we’ll explore … Read more

How to Convert HEIC to JPG using PowerShell

If you’ve ever tried to open your iPhone photos on a Windows PC, you might’ve encountered that mysterious .heic extension. It is not always easy to work with outside the Apple ecosystem. If you are looking for an easy way to convert those HEIC files to the more universally friendly JPG format, you’ve come to the right … Read more

How to Convert JSON to XML using PowerShell?

Convert JSON to XML using PowerShell

JSON (JavaScript Object Notation) and XML (eXtensible Markup Language) are two widely used data formats in modern IT environments. However, we often need to convert JSON files to XML files using PowerShell. This tutorial explains how to convert JSON to XML using PowerShell, and I will cover step-by-step instructions, practical examples, and common mistakes that … Read more

How to Test If a File Exists in PowerShell?

Test If a File Exists in PowerShell

I got a requirement to test if a file exists in PowerShell. In fact, this is a very common requirement among administrators. This tutorial covers various methods to test if a file exists in PowerShell with practical examples. Checking for a file’s existence before performing operations like reading, writing, copying, or deleting helps avoid runtime … Read more

How to Convert XML to CSV in PowerShell

PowerShell Convert XML to CSV

Have you ever received an XML file from a vendor, API, or internal system and struggled to make sense of it in Excel or a database? XML is great for storing structured data, but it’s not easy to analyze directly. So, you can use PowerShell to convert an XML file to a CSV file. In … Read more

PowerShell Out-File [With Examples]

PowerShell Out-File

Do you want to save the result of a PowerShell commandlet? The Out-File cmdlet enables you to send the output of your PowerShell commands directly to a file. In this tutorial, I will explain everything about the PowerShell Out-File cmdlet, including its syntax, examples, etc. What is the Out-File Cmdlet in PowerShell? Out-File is a … Read more

PowerShell Remove-Item Cmdlet [With Examples]

PowerShell Remove-Item Cmdlet

If you’re new to PowerShell and want to learn how to delete files, folders, or other items safely and efficiently, then you should learn about the PowerShell Remove-Item cmdlet. In this tutorial, you’ll learn what Remove-Item is, how to use it, the syntax, and see practical examples. What is the PowerShell Remove-Item Cmdlet? The Remove-Item … 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.