0 votes

Hi,

would it be possible to script a workstation in AD and also directly from our local SCCM environment ?

by (40 points)

1 Answer

0 votes
by (293k points)

Hello,

There is no need to use scripts to delete objects (including computers) from AD. You can just do that manually in the Web interface or the Administration console. Alternatively, you can use a custom command or scheduled task with the corresponding action. The following tutorial will be helpful: https://www.adaxes.com/help/DeleteInactiveComputers.

As for deleting a computer from SCCM, it might be possible using a PowerShell script. Unfortunately, we do not have anything like that.

Related questions

0 votes
1 answer

For creating a computer object, we want to check if the entered CN is already used in our AD. And for that we want to use a powershell script. An other dot ... powershell script should be start before creating the computer object, right? Thanks for your help.

asked Jun 4 by KEME (80 points)
0 votes
1 answer

Hi When reading the REST API documentation it does not mention working directly against Azure AD and Exchange Online. Will this be added? Thanks /Peter Sonander

asked Jan 26, 2023 by Sonander (40 points)
0 votes
1 answer

Hi, I followed this example: https://www.adaxes.com/sdk/IAdmTop6.html, but because the Custom Command is disabled, I get the following error message: System.Management.Automation ... if I enable the Custom Command. I am using Adaxes 2018.2 Best Regards Martin

asked Feb 19, 2020 by Martin (150 points)
0 votes
1 answer

I had a script that would copy the values from adm-CustomAttributeTextMultiValue1 and save them into extensionAttribute15 as a comma seperated list. The script somehow got deleted and I can't seem to find the tutorial I used to create it before.

asked Jul 1, 2022 by jordan (110 points)
0 votes
1 answer

I've tried using the business container creation script and looping a foreach and I've been getting errors on the SetInfo part, just wondering what I'm doing wrong.

asked May 29 by ajmilic (100 points)
3,574 questions
3,263 answers
8,282 comments
548,008 users