Powershell Rename File extensions in Sub Directories Posted byhightechhomeandofficeMarch 1, 2024Posted inUncategorized Get-ChildItem -Path ‘C:\path\*.old’ -Recurse | Rename-Item -NewName { $_.Name -replace ‘.old’,’.new’} Get a list of the files in folders and subfolders with the extension .old and renames them with extension .new Share this:TwitterFacebookLike Loading... Related