PSADHealth icon indicating copy to clipboard operation
PSADHealth copied to clipboard

Test-ADObjectReplication

Open Rapidhands opened this issue 4 years ago • 0 comments

Hi Mike Perhaps a potential issue : New-ADComputer ... no error check. If user haven't rights to create computer object in AD, this failed. Try ... catch statement should be implemented.

Idem for the Remove-ADComputer : try.... catch statement.

As some other functions, this one should have only task to perform. Send-Mail could be an option (passed by param section) or outside the function.

Regards Olivier

Rapidhands avatar Dec 10 '20 12:12 Rapidhands