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: telemorgan
  • Order by date
  1. telemorgan

    Probably an easy question for most of you

    Thanks Everyone for your input.
  2. telemorgan

    Output a line of text and the next 5 preceding lines

    Im looking to write a vbscript that will grab some data out of an html report. I want to grab a particular line and the next preceding 5 lines. The html report looks like this: blah blah blah blah blah blah <td valign="top" align="middle"><font face="verdana" size="2">0</td> <td valign="top"...
  3. telemorgan

    Probably an easy question for most of you

    We are running exchange 2003 stnd. in our company. I have a question I was hoping to have some help answering. Here goes: A user gets a daily email from a news agency with a 2MB attachement. Everyday, he forwards that message to his secretary for printing and then deletes it. So he has a copy...
  4. telemorgan

    Script to act on files after certain date

    The final product.. Thanks PHV for you help!! ********************************************************* 'Set Global Variables daysold = InputBox ("Number of days back you want HAM_MEDIC to look? "& (chr(13)) &" "& (chr(13)) &" Example: 10, 15, 30", "HAM_MEDIC Script - by TM") fileext =...
  5. telemorgan

    Help with variable

    I was over thinking it. I could just call the variable without the "'s and &'s. Rookie mistake!! Thanks anyway
  6. telemorgan

    Help with variable

    I have an input box where a user enters a number. I then want that variable to be put into the dtmOld variable but I keep messing up the syntax. Can someone help? I've tried mutiple combinations. This is one of them. daysold = InputBox ("What is the number of days you want the script to look...
  7. telemorgan

    Script to act on files after certain date

    OK, I completely switched it up and I think I got it working. Well almost.... ******************************************** Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.GetFolder("T:\ideas_LIC_FIX") dtmOld = DateAdd("d", -30, Now) AllFolders(objFolder) runHM...
  8. telemorgan

    Script to act on files after certain date

    OK, looks like my query is what needs to be changed to include the path and restriction to just .mdf files. But I'm banging my head against the wall with errors.. To recap, Im trying to get the query to search a directory for all .mdf files created after a certain date that has been inputed...
  9. telemorgan

    Script to act on files after certain date

    I have been trying to write a script that will run this command for each file created after a certain date: For example: (In logical terms) MONTH=(xx) DAY=(xx) YEAR=(xxxx) For each <filename> in y:\<dir1>\<dir2> with the extension .mdf newer then xx/xx/xxxx do; y:\<dir1>\<action>.exe...
  10. telemorgan

    Help with Fiber Card setup

    I am trying to setup my Sun V880 server running Solaris 8 to talk to my external SAN via fiber cable. I believe I have one internal fiber card (FC) on the motherboard and another on a PCI card. The PCI card has internal ports as well as a set of external ports on the back of the server. Both the...
  11. telemorgan

    Where to find WWN of my Fiber Card?

    I am running a Sun V880 with Solaris 8. I wnt to find out the WWN of my fiber card? Does anyone know the command to do this? Thanks
  12. telemorgan

    Regular Expression Help

    That was the ticket. Thanks "\((CN=.*)\)@"
  13. telemorgan

    Regular Expression Help

    This is the code that I have. I am just trying to figure out what the reg expression pattern is. I have tried a couple combinations with limited success. dim s, t, rx, cm, m set rx=new regexp with rx .global=false .pattern=\(*\) end with Const ForReading = 1 Set objFSo =...
  14. telemorgan

    Regular Expression Help

    I am writing a script that will read each line of a log file and pull out the user name string. The log file is populated with lines like this: 11.111.247.148 - (CN=Blow\\, Joe,CN=Users,DC=CompanyX,DC=com)@(LDAP) [06/May/2008:08:33:23 -0400] "GET...
  15. telemorgan

    extract text between quotes in a log file

    Excellent, works great. You got a STAR!!!
  16. telemorgan

    extract text between quotes in a log file

    Question for you guys. what would be the pattern if I just wanted to pull the value between the first set of quotes? The lines in the log file are scructured like this: 152.15.112.88:1755 ssl "(CN=Hung\,Bart,CN=Users,DC=company,DC=com)@(LDAP)" "15/Apr/2008:10:26:38.779 -0400" v5 connect 13552...
  17. telemorgan

    extract text between quotes in a log file

    Great!! That worked perfectly. This is what I came up with for the total script. dim s, t, rx, cm, m set rx=new regexp with rx .global=true .pattern="""([^""]*?)""" end with Const ForReading = 1 Set objFSo = CreateObject("Scripting.FileSystemObject") strComputer = "." Set...
  18. telemorgan

    extract text between quotes in a log file

    I am looking to write a script that will read in a log file line by line, extract the values between the two sets of quotes, output those values to another file then exit. My log file is a number of lines like the following: 152.15.112.88:1755 ssl...
  19. telemorgan

    Trying to remove the right to edit users' group membership?

    I am trying to deny the ability for our helpdesk to modify users' group memberships. Our helpdesk (group name = 'helpdesk' in AD) can go into AD and modify user accounts in the USERS OU. That 'helpdesk' group in AD have specifically been granted permissions on the USERS OU to 'List Contents'...
  20. telemorgan

    Crontab not processing entries

    Thanks for all you tips guys. When I tried to login the next day I was prompted for a password change. Apparantly the pw had expired. Stupid Me..... I appreciate everyone's help!!!

Part and Inventory Search

Back
Top