windows powershell rename code example
Example 1: rename file powershell
mv original_filename.whatever new_filename.whatever
Example 2: powershell rename computer
Rename-Computer -NewName "Server044" -DomainCredential Domain01\Admin01 -Restart
mv original_filename.whatever new_filename.whatever
Rename-Computer -NewName "Server044" -DomainCredential Domain01\Admin01 -Restart