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 SkipVought 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. sheepz

    Problems parsing output using Wshell Exec method

    i had this issue myself when using WMI queries on our servers. check these things: 1. is the server your contacting on? you might need a ping function to check. i know your thinking "GEEZ it's a server of course it's on." well you never know until you check. 2. does the server have the...
  2. sheepz

    How to add system name to add account script?

    you are too fast dm! =) Set objComputer = CreateObject("Shell.LocalMachine") strComputer = objComputer.MachineName '<--- NETBIOS name strAdmin = "Administrator" strNewName = "jose" & UCase(strComputer) '<--- Append to name (jose) Set objComp = GetObject("WinNT://" & strComputer) Set objUser...
  3. sheepz

    Filtering Event Logs

    hi dm, i didn't know you could use Where Logfile='Security' Where EventCode='672' "Select * from Win32_NTLogEvent Where Logfile = 'Security' And EventCode='672' And User Like '_gmagerr%'" i thought you could only have one Where condition, and have to use the Ands. that's really neat!
  4. sheepz

    Create a new mail profile

    first you would need to create a .prf (Profile file) that contains your exchange information and preference selections. then just use vbs something like: objShell.run "outlook.exe /importprf User.prf" heres how to create a .prf: http://www.outlook-tips.net/howto/prf.htm

Part and Inventory Search

Back
Top