question

karlAld-1536 avatar image
0 Votes"
karlAld-1536 asked karlAld-1536 commented

Powershell add-computer breaking existing PCs in AD

Hi, I started using Powershell add-computer script to join my PCs to the domain and I quickly found out, rather painfully, is that the command will replace the GUID in AD so if another PC already exists in AD, it will replace it and I suddenly get a broken PC in AD that the users were using. Why?

So to make it harder, I am using MDT to mass deploy images and as such, I can not install RSAT on every workstation to get the AD powershell module installed in Powershell. Can anyone please recommend a method to prevent my imaging to pop existing PCs in AD using MDT?

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered karlAld-1536 commented

Hi @karlAld-1536 ,

Please help to report the issue over here.
https://github.com/PowerShell/PowerShell/issues/new/choose

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Why are you asking me to repost on another website?

0 Votes 0 ·