Rename-Computer with PSADT

Hi,

According to the documentation for the Powershell function Rename-Computer it looks like it needs to be executed with credentials that have the right to rename computers in the domain. Both examples use the parameter -DomainCredential (and your example don’t use it). Rename-Computer (Microsoft.PowerShell.Management) - PowerShell | Microsoft Learn. And I assume the local System account which is normally used when installing applications doesn’t have this right. I don’t believe this is a PSADT issue.