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 TouchToneTommy 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: *

  • Users: pandu101
  • Content: Threads
  • Order by date
  1. pandu101

    How to run vbscript with elevated rights?

    I need a script to run with admin rights but I dont want to save the user/pass within the script file. Also, what would be the command that allows the script to assign "Authenticated Users" modify rights to a folder? TIA
  2. pandu101

    How to show only certain properties of an event

    I have the following script that pulls security logs showing users who were not able to login to the network. At the moment it does a line by line dump of the entire event log. What I really want is a list of users who had problems logging in. Bonus would be if it could sort by the number of...
  3. pandu101

    How to pull eventlogs during the last week only

    Hello, I use the following code to get events from the security log, by computername and event id. I need to take it one step further. I want to pull these events that occurred during the last week. How can I modify the command below to do this? I know it has something to do with...
  4. pandu101

    Error trying to search a database table

    I am trying to run the following query that will look for events with a particular date in a table. The date is saved as a string in the database (SQL 2005). But I get an error stating "Incorrect syntax near 'Sunday" on the following line (the second one). start_date = "Job started: Sunday...
  5. pandu101

    How to insert data into database

    Hi all, started collecting data from an XML file that is created by our backup software. Was able to get a lot of that done thanks to the good folks here. Now I am trying to dump that data into a SQL 2005 db. I am doing this by calling a function named bkupJobTableInsert, But I get errors like...
  6. pandu101

    How to read text as numbers in XML file

    Hello, I am reading the following line from an XML file. There are several such lines in each XML file. However I only want to capture the bytes from each tag and add up the total bytes. This will tell me how much data was backed up (the XML file is produced by our backup software). However...
  7. pandu101

    How to interpret error codes in event log

    One of my DC's spitted out almost a thousand instances of the same error before I rebooted it. Now, I am trying to figure out what happened. The error itself is sort of generic - Event ID 2000 - The server's call to a system service failed unexpectedly. There is more useful info in the Data...
  8. pandu101

    How to increment an array within a loop?

    I am using the code below to parse thru several XML files and print out data from each XML file. It only looks for files that starts with BEX and that are older than 2 days. However the code does not run if there are more than one file to parse. At that point I get the error -- VBSCript runtime...
  9. pandu101

    How to compare file names (XML file names)

    Hi, I have the following script that will go thru a folder containing several xml files and then extract data from those XML files. However, I want it to *only* parse XML files that begin with the letters BEX. How can I make this happen? Below is the script. TIA Dim server, filepath...

Part and Inventory Search

Back
Top