Skip to content

Instantly share code, notes, and snippets.

@eruffaldi
Created August 14, 2025 09:09
Show Gist options
  • Save eruffaldi/fc9cef4f773bec3b089d4f1a02da79df to your computer and use it in GitHub Desktop.
Save eruffaldi/fc9cef4f773bec3b089d4f1a02da79df to your computer and use it in GitHub Desktop.
Removed Zone Identifier
Get-ChildItem -Path (Resolve-Path ".") -Recurse -File | ForEach-Object { try { Remove-Item "$($_.FullName):Zone.Identifier" -Force -ErrorAction Stop } catch {} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment