I have a vbscript to create AD accounts but want to run it on a remote server to create the accounts in the remote Active Directory.
I can get a VPN connection going no problem but I can't figure out how in the code to access the remote active directory using RootLDAP. As a workaround could I connect the VPN, copy the account creation script to the remote server, and then execute it remotely? The issue I'm having is that when I run the script from my PC, even though is located on the remote server's hard drive the script is essentially run locally on my PC.
Is there an RPC style DOS command that can run the script on the remote server after it has been copied there, but still let me have control of the script from my PC? Hope that makes sense!