Hello Forum,
I am very new to LDap but need to accomplish next task:
Need to load db table with next attributes: user id, name, mail, manager name, mail for particular Distribution Group.
I get list of users by running dsquery:
dsget group "CN=DF SUPP ALL,OU=Messaging,OU=Distribution...
thKidd,
I've got message back. Can you advise please.
C:\Working\de1\vbs\vb1.vbs(17, 1) Active Directory: The directory property cannot be found in the cache.
Hello Forum
I need to find first, last user name by his network id.
I currently do it by using mmc snap-in called Domain users and computers browser.
It's window program but I need to do it in a script.
Thank you, Gene.
Thank you Gentleman for your help.
PHV, I followed your path and made it work.
I want to ask you another question:
Is there anyway to prevent output from command line execution from within objShell.Exec going to my command line window?
It producess a lot of output which I want to display for...
hello Forum,
I need to execute windows .cmd file which produces output which I need to catch. It expects for input in 2 places: 'yes',enter; enter.
Can you recommend me how to do it.
From what I understand, Exec can collect output but does not let to send command strokes with...
Here is what i run and get:
C:\vb1>cscript /nologo a1.vbs
GetSecurityDescriptor failed
424
Object required
C:\vb1>
------ a1.vbs
a("sc")
function a(f_name)
On Error Resume Next
' The Win32_LogicalShareSecuritySetting instance with
' the name = to WMILogs$ is specified
Set...
Hello folks,
When I needed to code some check on share permissions, I came across code below.
The problem I found is that when I try using variable in place of directory name (WMILogs$) - to make script check different shares - I get syntax errors.
Can you help me please.
On Error Resume Next...
Hello forum
I need to code check and if nessesary change to local security policy.
For instance: check if domain account is in local policies/users rights assignment/allow log on locally.
If not - add it.
Can you recommend how to do it please.
one correction:
I was trying to add domain group, not domain user or local user.
Domain user and local user are getting added with no problem.
The problem is adding domain group to local group.
Hello Forum
Can you please help me with silly issue.
I run:
net localgroup Administrators bbc\my-account-ac-dc /add
... and get syntax error.
When I add local user:
net localgroup Administrators gene /add
it works.
However MS example have the same syntax for both type of users.
My ibm notebook HD failed: I am getting message: no access to bootable device.
How can I recover files from this drive?
I have only cd drive - no floppy drive on it.
I have 2 os: nt 2k and win 95.
Both do not start even in a safe boot mode.
Thank you.
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.