Hi, I’ve been using the following script to delete Windows 7 computers but now we have Windows 10 computers with bitlocker keys and it prompts to confirm subtree deletion.
Get-Content c:\progra~1</span>exports\DeleteFromAD.txt | % { Get-ADComputer -Filter { Name -eq $_ } } | Remove-ADComputer -confirm:$false
Is there a way to suppress that confirm subtree deletion prompt?
Thanks