Skip to content

Instantly share code, notes, and snippets.

@bvanskiver
Created January 4, 2019 13:28
Show Gist options
  • Save bvanskiver/d495221d77b086d5883e0367ad75325e to your computer and use it in GitHub Desktop.
Save bvanskiver/d495221d77b086d5883e0367ad75325e to your computer and use it in GitHub Desktop.
Get-ChildItem -File | Where-Object { $_.Name.Contains("-") } | Rename-Item -NewName { $_.Name -replace "-","." }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment