# How to Remove the computer from the AD domain using PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

To remove the computer from the domain we need to use the Remove-Computer command.

Remove-Computer -ComputerName Test1-win2k16 
Remove-Computer -ComputerName Test1-win2k16, Test1-Win2k12