Hello,
How do I sepcify a physical server in place of rootdes??
If I replace Set rootdse = GetObject("LDAP://rootdse") with Set rootdse = GetObject("LDAP://CN=SERVERNAME,OU=Domain Controllers,DC=XXX,DC=XXX,DC=XXX,DC=com")
I get an error on
domainContainer =...
I want this command (Command A) to run
oShell.Run "C:\Oracle10Client\10g_client\setup.exe -responsefile c:\Oracle10client\10g_client\response\10CLIENT.RSP -noconsole -silent", 0,True
and once completed I want this command (Command B)to run
oShell.Run...
Hi, I am trying to write a script that runs 1 programs and upon completion runs another program. Here is what I have so far. I would prefer to not use wscript.sleep if at all possible.
**********************************************************
Dim oShell, oEnv
set oShell=...
Hello, I am trying to write to the Terminalservicesprofilepath attribute in AD but I continue to get the "property not found in the the directory cache" eror. Can someone help? Hee is my code snippet:
adsuserprofile =templuser.GetEx("TerminalServicesProfilepath")...
and, yes, I did save the code w/ a VBS extension. I actually added your code as a function into my existing code but am receiving a syntax error at the beginning of the function.
Thanks!!
Thanks for the function. However, excuse my ignorance but this line is giving me a syntax error and I don't see what the error is.
Public Function SearchDistinguishedName(ByVal vSAN)
Thanks again for the help!!
Thanks for the help. The code works fine when the template user and the new user are hard-coded so I am now attempting to variablize the template and new user. 1 question I have, however, is there anyway to overcome the "Name translation: Could not find the name or insufficient rights to see the...
OK, I made some modifications to my code but I still can't seem to add a newly created user to groups of an existing user. The code is listed below. Any help is appreciated.
Thansk!!
"""""""""""""""""""""""""""""""""""""""""""""""""""
Dim strNetBIOSDomain, strNTName, strUserDN
Dim...
Hello, I am trying to create a script that enumerates group membership of one user (stemplateUsr) and adds another user (strUserDN) to those groups.
Here is the pertinent code from my script:
************************************************************
Set adsNameTranslate =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.