RenameComputer
RenameComputer copied to clipboard
Rename a Hybrid AADJ computer after an Autopilot deployment
Hi @mtniehaus , I get an error message when i try to run the script. I have created a separated OU and placed the computer objects there to be renamed....
Not an issue per say, but some confusion. How did you create the Intune file? I had to adjust a few things as the name was coming back null. But...
The following commands don't add the -randomdelay value to the trigger. $triggers += New-ScheduledTaskTrigger -AtLogOn -RandomDelay $timespan $triggers += New-ScheduledTaskTrigger -AtStartup -RandomDelay $timespan Should be: $triggers += New-JobTrigger -AtLogOn -RandomDelay...
Hey, I get an enrollment error with this package: 0x80070001 - Microsoft Entra hybrid joined (User-Driven) - Intune Connector for Active Directory - Domain Join Configuration Profile
I found that this would exist either way: # Bail out if the prefix doesn't match (if specified) Write-Host $Prefix $details = Get-ComputerInfo if (($Prefix -ne "") -and (-not $details.CsName.StartsWith($Prefix)))...
Hi, how do you handle Certificates when renaming the PC? For example i am Hybrid Joining the PC. The Certificate enrollment happens per GPO so the first Certificate is only...
I am seeing sporadic errors in the renaming during autopilot. I cannot get it to fail when I test but I have seen logs say: Rename-Computer : Fail to rename...
Hey there. I am encountering an issue where the rename script is failing to successfully complete the rename properly. The error it throws is "The hostname is already taken by...