Describe Windows/PowerShell/RenameServer here. * Powershell rename server {{{ #Variables $NewComputerName = "New-Name-A01" $ComputerOUPath = "OU=QA,OU=Windows 2019,OU=Servers,DC=mydomain,DC=net,DC=nz" $ComputerDesc = "MY - Windows 2019 - webserver" #Rename the computer and add to domain in specific OU - *** Restart required *** Add-Computer -DomainName mrp.net.nz -ComputerName $env:computername -newname $NewComputerName -OUPath $ComputerOUPath –force –restart }}}