Skip to content

Active Directory Tools

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

PS

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

How to Delete Files Older than in PowerShell

by ADAdmin

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

Read more

How to List Files By Date in PowerShell

by ADAdmin

To list files by date in PowerShell, you can use the Get-ChildItem cmdlet and sort the output based on the LastWriteTime property. The following method …

Read more

How to List Files in Directory Using PowerShell

by ADAdmin

To list files in a directory using PowerShell, you can use the Get-ChildItem cmdlet. The Get-ChildItem command retrieves the items from the specified directory. You …

Read more

How to Delete All Files in a Folder in PowerShell

by ADAdmin

To delete all files in a folder in PowerShell, you can use the Get-ChildItem and Remove-Item cmdlets. The following methods show how to remove all …

Read more

How to Delete Multiple File Extensions Using PowerShell

by ADAdmin

To delete multiple file extensions in a directory using PowerShell, use the Get-ChildItem and Remove-Item cmdlets. The following method can be used to delete multiple …

Read more

How to Delete All Files with Extension in PowerShell

by ADAdmin

To delete all files with a specific extension in PowerShell, you can use the Get-ChildItem and Remove-Item cmdlets. The following method can be used to …

Read more

Older posts
Newer posts
← Previous Page1 … Page12 Page13 Page14 … 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