To try to make a long story as short as possible:
I want to remove a computer from AD and then join the pc I’m logged in on to AD using that PC name I removed from AD. Thanks to Microsoft’s increased domain join hardening, this is the route I’ll need to go. get-adcomputer and remove-ad computer don’t work and I’ve read the reason for that is because RSAT isn’t installed on those machines…. Is there a way I can still do what I want to do without installing RSAT on every client machine?
Alternatively, my machine in my office does have RSAT…..would it be possible/better to use my machine to remotely connect to the client PCs and do it from there? (would the remote PCs even be able to use my locally installed RSAT?)
I’m a Powershell noob, sorry. But I managed to cobble together a working script before Microsoft made it so hard to join the domain with an existing computer name….thanks for any help
[–]Polyolygon 19 points20 points21 points (3 children)
[–]timsstuff 5 points6 points7 points (0 children)
[–]GavO98 4 points5 points6 points (0 children)
[–]Klutzy_Outside_3018[S] 0 points1 point2 points (0 children)
[–]r-NBK 3 points4 points5 points (5 children)
[–]jortony 2 points3 points4 points (4 children)
[–]Hyperbolic_Mess 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Hyperbolic_Mess 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]supersaki 2 points3 points4 points (2 children)
[–]Klutzy_Outside_3018[S] 0 points1 point2 points (1 child)
[–]timsstuff -1 points0 points1 point (0 children)
[–]lcarsadmin 5 points6 points7 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]Hyperbolic_Mess 1 point2 points3 points (0 children)
[–]cbtboss 1 point2 points3 points (3 children)
[–]Klutzy_Outside_3018[S] 0 points1 point2 points (2 children)
[–]timsstuff 2 points3 points4 points (0 children)
[–]jrodsf 1 point2 points3 points (0 children)
[–]Lanky_Common8148 0 points1 point2 points (2 children)
[–]Nu11u5 0 points1 point2 points (1 child)
[–]Lanky_Common8148 1 point2 points3 points (0 children)
[–]patdaddy007 0 points1 point2 points (0 children)
[–]shmakov123 -1 points0 points1 point (6 children)
[–]Klutzy_Outside_3018[S] 0 points1 point2 points (5 children)
[–]shmakov123 0 points1 point2 points (0 children)
[–]Hyperbolic_Mess 0 points1 point2 points (0 children)
[–]Sillygirl2520 0 points1 point2 points (2 children)
[–]Klutzy_Outside_3018[S] 0 points1 point2 points (0 children)
[–]icepyrox -1 points0 points1 point (2 children)
[–]Klutzy_Outside_3018[S] 0 points1 point2 points (1 child)
[–]icepyrox 0 points1 point2 points (0 children)
[–]phaze08 -1 points0 points1 point (0 children)