Tech Notes

Thursday, January 30, 2014

PowerShell - Change Computer Name

Execute the command below and restart the computer.

$computerName = Get-WmiObject Win32_ComputerSystem
$name = "New Computer Name"
$computername.rename("$name")
Posted by Unknown at 2:58 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: PowerShell, Windows 7

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2016 (2)
    • ►  May (1)
    • ►  March (1)
  • ►  2015 (6)
    • ►  September (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ▼  2014 (19)
    • ►  October (1)
    • ►  September (2)
    • ►  August (3)
    • ►  July (1)
    • ►  June (5)
    • ►  March (1)
    • ►  February (1)
    • ▼  January (5)
      • PowerShell - Change Computer Name
      • Mac OS X - Install wget via the command line
      • Enable VNC Remote Controll Macbook Pro
      • PowerShell - How to Enable-PSRemoting on Windows XP
      • iPhone/iOS - Change Mac Addres
  • ►  2013 (11)
    • ►  November (1)
    • ►  October (1)
    • ►  September (3)
    • ►  August (2)
    • ►  July (4)

About Me

View my complete profile
hit counter
Awesome Inc. theme. Powered by Blogger.