linux replace spaces with underscores in directory code example
Example: replace spaces in file names with underscores windows
Get-ChildItem C:\NewFolder -Directory -Recurse | Rename-Item -NewName {$_.Name -replace '_',' '}
Get-ChildItem C:\NewFolder -Directory -Recurse | Rename-Item -NewName {$_.Name -replace '_',' '}