Skip to content

Admin Tips

  • PowerShell
  • About
  • Contact
  • PowerShell
  • About
  • Contact

Admin Tips

Tagged: ForEach-Object

Archive and delete all files from a folder that are older than X days 0

PowerShell

January 30, 2024

 by gh · Published January 30, 2024 · Last modified February 28, 2024

Archive and delete all files from a folder that are older than X days

0

PowerShell

November 28, 2023

 by gh · Published November 28, 2023

Search through multiple OUs in the AD with PowerShell

Recent Posts

  • Exporting data to excel with the ImportExcel module with PowerShell
  • Querying your VEEAM backup server with PowerShell
  • Working with XML files in PowerShell
  • Snippet for running scripts manually / automatically
  • Running jobs with Task Scheduler

Recent Comments

No comments to show.

Tags

  • AD Archive Automatic run Backup Batch Boot DateTime Filter ForEach-Object Get-ADComputer Get-ADUser Get-ChildItem Get-Content Get-Date GUI ImportExcel Job Linux Linux Mint Local Security Policy MessageBox MS Excel MS Outlook OU Parameter ParseExact Path SearchBase Select-Object Text Veeam Ventoy VHD Where-Object XML

Archives

  • February 2024
  • January 2024
  • November 2023
  • October 2023

Categories

  • PowerShell
  • Task Scheduler
  • Ventoy

Admin Tips © 2025. All Rights Reserved.

Powered by  - Designed with the Hueman theme