locked
how to rename domain computers with powershell script RRS feed

  • Question

  • Hi all,

    Our company using domain environment, and the computers had been joined to the domain,  now we need to rename the computers with new requirements.

    How can i achieve it with powershell scripts

    For example: abc.domain.com need to renamed to cn-w-abc.domain.com

    abc = The computer serial NO. last 3 strings which already available via powershell function script(serial.ps1).


    Thanks in advance.
    Monday, July 8, 2019 6:07 AM

Answers

  • Hello,

    Thank you for asking in forums.

    Please check the following link for more information.

    https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/rename-computer?view=powershell-6


    Mark it as answer if your question has solved in order to keep forums updated.

    Monday, July 8, 2019 6:32 AM