Hello, I migrated from PS 5.1 to 7.1 and one of the old scripts is not running. The issue is that the remove-computer cmdlet is no longer available in PS7
I need to unjoin a system from a domain but I can't find any cmdlet that will allow me to do that.
I can use remove-adcomputer to remove the computer from the DC , but that does not unjoin the system.
Can somebody point me in the right direction ?
Thanks
