Follow

This snippet has been saving me time and tedium for years: replace spaces with dashes in PowerShell

Dir | Rename-Item –NewName { $_.name –replace " ","-" }

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!