{"version":"1.0","type":"rich","title":"Zip all files in folder older than date","description":"This example demonstrates a PowerShell script that archives files and folders older than a specified date by month. It processes items in an input directory matching a file mask, copying those created before the first day of the given month and year into monthly subdirectories, then compressing each into a separate ZIP archive. The script uses the `Get-ChildItem` cmdlet with the `-Include` parameter, `Copy-Item` with `-Recurse`, and the `Compress-Archive` cmdlet, writing progress to the console via `Write-Host`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-97dac62d1709451c4fad7b4076a0b94b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}