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: gmagerr
  • Content: Threads
  • Order by date
  1. gmagerr

    Find string in file from today yesterday's date

    Hi, I have a log file I must look through each morning to see if there were any failures the previous day. Here's a small sample 1/16/2013 1:40:00 PM | Starting process ========================================================== 1/16/2013 1:40:00 PM | Import ERP order email data... 1/16/2013...
  2. gmagerr

    Time format

    I am trying to rename files in folders with the name of the folders in which they reside, the date and time and some other things. I would like the time to read 05.03.22 AM and it's coming up 5.3.22 AM here's the code, can someone assist with the time portion? Thanks Call...
  3. gmagerr

    How to add a header to a text file

    Hi, I have two scripts. One gets me drive space for a list of servers, and the other will add a header to the top of the text file created by the first script. If I run them as individual scripts, it works fine. When I try to add the script that writes the header into the script that generates...
  4. gmagerr

    Help with Normalization

    Hi, I'm struggling with normalizing a database I've created. I basically attempting to create an asset management database for my computer center. I've attached a screenshot of what I have so far. I'm trying to depict several things. Category - Server, Network, Storage SAN, Storage Other, Misc...
  5. gmagerr

    Local admin password change script doing every other server

    Hi guys, This script is changing the admin password on every other server in the successping.txt file. I can't figure it out, can someone help? Thanks '========================================================================== ' ' NAME: Reset Local Admin Password.vbs ' ' AUTHOR: Gene...
  6. gmagerr

    Two part script. Wait for part one to finish

    Hi all, I have a script I've put together that will ping all of the servers in our domain, and change the local administrators password on each of the servers that are pingable. There are two parts, part 1 is the ping section. Part 2 is the section that changes all of the passwords. I'm using...
  7. gmagerr

    How can I exclude Domain Controllers

    Hi all, I have a script that pings all of my servers and writes them to text files. How would I exclude domain controllers from being written to the files? Thanks '========================================================================== ' ' NAME: Get Servers.vbs ' ' AUTHOR: Gene Magerr...
  8. gmagerr

    Grab lines of a text file

    Hi all, I have a text file that has many entries. Each entry is exactly 4 rows. Each 4 rows is seperated by a blank row. So the file looks like this Issued Request ID: 0x286 (646) Certificate Expiration Date: 3/28/2009 9:35 AM User Principal Name: "someone@company.com" Certificate...
  9. gmagerr

    Almost there help sending email

    Hi all I am trying to finish this script which grabs info from a generated text file. The text file was generated using certutil. It's a list of all the user and computer certificates which are going to expire within 30 days. I have everything working correctly except the format of the email...
  10. gmagerr

    Searching Registry

    Hi All I'm trying to search the registry on remote servers for a value. Everything runs fine, but the resulting text file says key doesn't exist for a server on which i created the key. Any ideas why it's not working? i'm stumpped. Thanks...
  11. gmagerr

    Reading from a text file to variables

    I'm having trouble with this. I have a text file (generated with the certutil) I want to be able to go through the file and send users an email when their certificates are going to expire. Here's a sample of the file 11/6/2008 12:00 AM 10/7/2008 8:00 AM Schema: Column Name...
  12. gmagerr

    Blackberry Enterprise Server

    Hi all Anyone know how I can get the users and pin numbers from a blackberry enterprise server using vbscript? I've been looking but cannot find anything. Thanks.
  13. gmagerr

    Forwarding to a public folder

    Hi All I'm very new to exchange, so please take that into consideration when reading this post. We have a public folder set up to receive emails. That works fine. The emails that come in are for the travel department and contain pdf attachments. The emails are travel itineraries. The subject...
  14. gmagerr

    Help adding users to group from text file

    Hi all I need to create a security group with all of the members of a distribution group. The distribution group is populated nightly by a program called SmartDL. I am able to grab all of the users from the distribution group and save them to a text file. When i try to add the users from the...
  15. gmagerr

    Local admin password change script

    Hi all I've got a script that changes the local admin password on all of our servers. It works with the exception that after it does the last server, it prints a bunch of blank entries. I know this has got to be in the for each section but I can't figure it out. Here's the script...
  16. gmagerr

    Help with script logic

    I'm trying to create a script that will notify me whenever a user is added or removed form the domain admins group. I got this to notify me when a new user is added to the group, but can't figure out how to be notified when someone is removed. Thanks...
  17. gmagerr

    Help with special characters

    Hi all I've been working with MS to help me shrink my trans logs on a sharepoint mirrored farm. They sent me this stored proc. I added it to all of the databases and it worked great for all but one of the databases. The database name has some dashes in it. The MS tech had me mod the code that...
  18. gmagerr

    SQL Mirroring and Shrink Database

    Hello all I have a MOSS 2007 (SharePoint 2007) farm setup. I'm mirroring the database servers. I have a maintenance plan I created with the wizard. Part of the plan shrinks the database. I called microsoft today to see if this would be ok. They told me the mirror databases would not reflect the...
  19. gmagerr

    Filtering Computers

    Hi all I modified this script to move commputers that are more than a year old and have not been logged into to our disabled computers OU. When our desktop team creates a new computer a temporary computer object is created in active directory. These objects are named with the domain and a random...
  20. gmagerr

    How to tell if script ran successfully

    Hi All I have a password notification script I'm running nightly. I have a section that sends out an email to the users, and one that sends an email to the sysadmins telling them the script ran successfully. When the script runs, it creates a text file called userpwd.txt The way I'm determining...

Part and Inventory Search

Back
Top