Rename all files in a folder to uppercase:$f = "$HOME\myFiles"dir $f | Rename-Item -NewName {$_.Name.ToUpper()}
Rename all files in al folder to lowercase:$f = "$HOME\myFiles"dir $f | Rename-Item -NewName {$_.Name.ToLower()}
Post a Comment
2 comments:
Rename all files in a folder to uppercase:
$f = "$HOME\myFiles"
dir $f | Rename-Item -NewName {$_.Name.ToUpper()}
Rename all files in al folder to lowercase:
$f = "$HOME\myFiles"
dir $f | Rename-Item -NewName {$_.Name.ToLower()}
Post a Comment