pdxcat / PrepDeploy

PowerShell script that removes a computer object from AD and maybe SCCM to prep it for redeployment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make script not fail if a computer is found in one location but not another.

pfaffle opened this issue · comments

The script should attempt to remove a computer from all targets (AD, SCCM, etc.), but it should not fail if the computer doesn't exist in one of those places. It should only fail if it is unable to remove a computer for other reasons, e.g. permissions, or some other unknown error.