rename powershell code example
Example 1: rename file powershell
mv original_filename.whatever new_filename.whatever
Example 2: powershell rename replace
ls *.csv | Rename-Item -NewName {$_.name -replace "Default","VOD"}
Example 3: powershell rename item
Rename-Item
[-Path] <String>
[-NewName] <String>
[-Force]
[-PassThru]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]