선 밖에 선 자유인

Windows hostname 변경 본문

IT/Cloud & DevOps

Windows hostname 변경

Hotman 2020. 3. 19. 17:57

- cmd

cmd> wmic computersystem where name="%COMPUTERNAME%" call rename name="<changename>"

 

- powershell

powershell> Rename-Computer -ComputerName “CurrentComputerName” -NewName “NewComputerName” -DomainCredential domain\username -Force -Restart

Comments