Skip to content

Active Directory Tools

  • Home
  • PowerShell Tutorials
  • Active Directory
  • CMD
  • About Us
  • Contact

PS

How to Get FileName from Path in PowerShell

by ADAdmin

To get a filename from a full file path in PowerShell, you can use the Split-Path cmdlet with the -Leaf parameter. The following method shows …

Read more

How to Check if File is Empty in PowerShell

by ADAdmin

There are several ways to check if a file is empty in PowerShell. The following methods show how to do it with syntax. Method 1: …

Read more

How to Create a File with Variable Name in PowerShell

by ADAdmin

To create a file with a variable name in PowerShell, you can use the variable to store the desired name and then pass it to …

Read more

How to Create a File with Date in Name Using PowerShell

by ADAdmin

To create a file with the current date in its name in PowerShell, you can use the New-Item cmdlet to create a file if it …

Read more

How to Create a File in PowerShell

by ADAdmin

There are several ways to create a file in PowerShell. The following methods show you can do it with syntax. Method 1: Using New-Item This …

Read more

How to Find Files Modified Between Dates in PowerShell

by ADAdmin

To find files modified between dates in PowerShell, you can use the Get-ChildItem cmdlet to retrieve the files from a directory and filter based on …

Read more

How to Find Files Modified by User

by ADAdmin

To find files modified by the user in PowerShell, you can use the Get-ChildItem cmdlet with the Get-Acl cmdlet to retrieve the file’s Access Control …

Read more

How to Find Files Modified in the Last Hour Using PowerShell

by ADAdmin

To find files modified in the last hour using PowerShell, you can use the Get-ChildItem cmdlet along with the Where-Object cmdlet to filter the result …

Read more

How to Get a List of Files Modified After Certain Date in PowerShell

by ADAdmin

To get a list of files modified after a certain date in PowerShell, you can use the Get-ChildItem cmdlet to retrieve the list of files …

Read more

How to Set Owner of File Using PowerShell

by ADAdmin

To set or change the owner of a file using PowerShell, you can use the Set-Acl cmdlet. The following method shows how to do it …

Read more

Older posts
Newer posts
← Previous Page1 … Page10 Page11 Page12 … Page21 Next →

Recent Posts

  • PowerShell Array of Arrays: A Complete Guide
  • How to List Installed Modules in PowerShell
  • How to Use the Find-Script Cmdlet in PowerShell
  • How to Use the Find-Command Cmdlet in Powershell
  • How to Install and Update PowerShellGet Module

Footer Bar

  • PS
  • Windows Commands
  • Privacy Policy
  • Terms of Condition
Copyright © 2025 ActiveDirectoryTools All rights reserved