rename in powershell code example
Example 1: powershell rename item
Rename-Item
[-Path] <String>
[-NewName] <String>
[-Force]
[-PassThru]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Example 2: rename file powershell
mv original_filename.whatever new_filename.whatever