0

I've got to script some Active Directory actions (remove computer object) but will be limited to using a batch file; I'm tied to a product that is looking for a specific batch file. I'll place my batch file on a Windows system; a service will call the batch file and perform its actions.

Since I need to use the dsrm command (from the RSAT tools that won't be on all my systems), I can use bitsadmin inside the script to pull the dsrm executable from a web server. However, there must be some dlls that I need to pull as well because just getting dsrm.exe doesn't seem to be enough. Does anyone know what files are needed to be able to use the dsrm command without installing the RSAT tools on a system?

2
  • i would suggest to use a debugger to find used/rew files
    – djdomi
    Commented Jan 17, 2020 at 15:56
  • isnt it possible with native powershell commands? since you did not wrote an example so and hence my glassball is broken still a while ago youll need to feed us with more information
    – djdomi
    Commented Jan 17, 2020 at 17:56

0

You must log in to answer this question.