https://blog.it-kb.ru/2012/01/25/powershell-rename-remote-computer/
PowerShell - Переименовываем удалённый компьютер