Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ggolub

    Need to get user, manager emails; user name for Distribution Group LDAP with Vbscript

    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...
  2. ggolub

    how to find domain user first, last name by his network i

    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.
  3. ggolub

    how to find domain user first, last name by his network i

    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.
  4. ggolub

    obShell Exec vs. Run

    PHV - thank you so much - it make sence. Do you have any recommendations on how to hide output produced by the command.
  5. ggolub

    obShell Exec vs. Run

    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...
  6. ggolub

    obShell Exec vs. Run

    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...
  7. ggolub

    winmgmts:Win32_LogicalShareSecuritySetting.Name : help with usage

    Thank you so much, it works!
  8. ggolub

    winmgmts:Win32_LogicalShareSecuritySetting.Name : help with usage

    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...
  9. ggolub

    winmgmts:Win32_LogicalShareSecuritySetting.Name : help with usage

    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...
  10. ggolub

    how to administer local security policy from commd. line

    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.
  11. ggolub

    net localgroup - can you help to get it work

    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.
  12. ggolub

    net localgroup - can you help to get it work

    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.
  13. ggolub

    ibm notebook scsi hd failure, HELP

    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.

Part and Inventory Search

Back
Top