Contact Info

Crumbtrail

ActiveXperts.com » 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 »

Rename-Computer

Short description
Renames a computer.

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





Description
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.