Skip to content

Active Directory Tools

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

ADAdmin

How to Get File Modified Date Using PowerShell

by ADAdmin

To get a file modified date using PowerShell, you can use the Get-Item or Get-ChildItem cmdlets to retrieve file information and then access the LastWriteTime …

Read more

How to Get the Last Modified File in Directory Using PowerShell

by ADAdmin

To get the last modified file in the directory using PowerShell, you can use the Get-ChildItem cmdlet to retrieve all files from the specified directory …

Read more

How to Export Directory Listing to CSV Using PowerShell

by ADAdmin

To export the directory listing to csv file using PowerShell, you can use the Get-ChildItem cmdlet with the -Directory switch to list the directory and …

Read more

How to List Directories in PowerShell

by ADAdmin

To list directories within a directory using PowerShell, you can use the Get-ChildItem cmdlet with the -Directory parameter. You can use the following method to …

Read more

How to List Contents of Directory in PowerShell

by ADAdmin

To list the contents of a directory using PowerShell, you can use the Get-ChildItem cmdlet. This command lists both files and directories within a directory …

Read more

How to List Files in Directory to Text File in PowerShell

by ADAdmin

To list files in a directory and save them to a text file in PowerShell, you can use the Get-ChildItem cmdlet to retrieve the files …

Read more

How to Delete Files Matching Pattern in PowerShell

by ADAdmin

To delete files matching patterns in PowerShell, you can use the Get-ChildItem and Remove-Item cmdlets. The following methods can be used to retrieve all files …

Read more

How to Delete Folder if it Exists in PowerShell

by ADAdmin

To delete the folder if it exists in PowerShell, you can use the Test-Path and Remove-Item cmdlets. You can use the following methods to delete …

Read more

How to Delete File if it Exists in PowerShell

by ADAdmin

To delete the file if it exists in PowerShell, you can use the Test-Path and Remove-Item cmdlets. You can use the following methods to delete …

Read more

How to Delete Folders Older than in PowerShell

by ADAdmin

To delete folders older than a certain number of days in PowerShell, you can use the Get-ChildItem cmdlet to retrieve a list of folders, filter …

Read more

Older posts
Newer posts
← Previous Page1 … Page14 Page15 Page16 … Page24 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