Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Rename-Computer

Rename-Computer - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Renames a computer.

Rename-Computer [-NewName] <String> [-ComputerName <String>] [-DomainCredential <PSCredential>] [-Force] [-LocalCredent
ial <PSCredential>] [-PassThru] [-Restart] [-Confirm] [-WhatIf] [<CommonParameters>]

The Rename-Computer cmdlet renames the local computer or a remote computer. It renames one computer in each command.

This cmdlet is introduced in Windows PowerShell 3.0.