How to Find Files Modified Between Dates Using PowerShell?

powershell find files modified between dates

Recently, I was working on a project where I needed to identify all files that had been modified within a specific date range. As a PowerShell administrator, you may need to locate files within a specific date range. There are various methods to do so. In this tutorial, I will show you multiple reliable methods … Read more

How to List Directories and Files in PowerShell

Filter Files Recursively in PowerShell

As a PowerShell user since its early days, I have been using the Get-ChildItem cmdlet to list files and directories. In this tutorial, I will explain different methods to list directories and files in PowerShell, from basic commands to advanced filtering techniques that I’ve used. Get-ChildItem Cmdlet The Get-ChildItem cmdlet (which has aliases like dir … Read more

How to Set Folder Permissions Using PowerShell

Set Folder Permissions Using PowerShell

Today, I got an interesting requirement from one of my clients. They wanted to set permissions for a folder and nested folders. In this tutorial, I will explain how to set folder permissions using PowerShell. Before setting permissions, let us first understand what NTFS permissions. Understanding NTFS Permissions NTFS (New Technology File System) permissions control … Read more

Create Folder Structure from CSV using PowerShell

Create Folder Structure from CSV using PowerShell

Yesterday, one of my clients wanted us to create a complex folder structure for organizing projects and related files. The entire folder structure is presented in a .csv file. In this tutorial, I’ll walk you through the steps to create a PowerShell script that generates a folder structure based on data from a CSV file. … Read more

Create Multiple Folders in PowerShell

Create Multiple Folders in PowerShell

One of my clients required me to create multiple folders. For these kinds of requirements, PowerShell scripting is the best option. In this tutorial, I will explain how to create multiple folders in PowerShell using various methods. Create Multiple Folders in PowerShell Let me explain each method with some real examples with the complete script. … Read more

How to Create Folders with Year, Month, and Day Using PowerShell?

In this tutorial, I will explain how to create folders using PowerShell that are dynamically named based on the current year, month, and day. This can be incredibly useful for organizing files and folders by date. I recently needed to implement this myself to keep track of daily reports at my company, located in Seattle. … Read more

How to Create Files with Content Using PowerShell?

Create Files with Content Using PowerShell

Recently, I was required to create files with content programmatically. PowerShell is one of the best options for this kind of task. In this tutorial, I will show you different methods to create files with content using PowerShell with examples. I will also show you how to create files with multiline content using PowerShell. Create … Read more

How to Create a Folder with the Current Date using PowerShell?

Create a Folder with the Current Date using PowerShell

In this tutorial, I will explain how to create a folder with the current date as the name using PowerShell. This can be very useful for organizing files and automating folder creation based on dates. We will see several examples in PowerShell demonstrating different ways to accomplish this. As an IT professional in the USA, … 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.