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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by beefstew

  1. beefstew

    Cleanup server metadata with AD Users & Computers assigns RID master role to offline DC

    Metadata Cleanup Return Connections Return Con to ser "Servername" Return Q Return Sel op tar Return You then have to select domain, site, and Server before you can remove the offline DC's
  2. beefstew

    Cleanup server metadata with AD Users & Computers assigns RID master role to offline DC

    Use "con to ser" and specifiy an online DC. Are you getting that far?
  3. beefstew

    Cleanup server metadata with AD Users & Computers assigns RID master role to offline DC

    Are you trying to seize roles or remove offline DC's using metadata cleanup?
  4. beefstew

    Group Policy Preferences

    Hi, Can anyone provide any feeback with regards to the amount of Printers that can be set within a single Printer Preferences GPO? I currently have around 50 and would like to know if I need to start thinking about maybe creating a second GPO. Cheers guys Beef
  5. beefstew

    Pulling a Drive from HP Proliant G7

    Hi, I want to pull a drive from a HP Proliant G7 for rollback purposes before intalling a service pack (No valid backup). Could someone please let me know what i'll be faced with at boot time and if the are any do's and don't when the Server boots. I remember doing this years ago with a G2 and...
  6. beefstew

    Delete filesif more than 5 files exist in Directory

    Absolutely perfect! MakeItSo, Thanks!!!!
  7. beefstew

    Delete filesif more than 5 files exist in Directory

    Thats the whole criteria
  8. beefstew

    Delete filesif more than 5 files exist in Directory

    Any folder withind the root should be deleted (And all of its contents) but only if the folder was created 7 Days ago. It should only run if the are 5 or more folders within the root directory
  9. beefstew

    Delete filesif more than 5 files exist in Directory

    there are 6 folders in the test Directory and all folders and the created date is Month's old
  10. beefstew

    Delete filesif more than 5 files exist in Directory

    This is what I have but it doesn't seem to work: ' ################################################################ ' # cleanup-folder.vbs ' # ' # Removes all files older than 1 week only if more ' # than 4 files present in directory '...
  11. beefstew

    Delete filesif more than 5 files exist in Directory

    I'll try it thanks
  12. beefstew

    Delete filesif more than 5 files exist in Directory

    I want to delete going by the created date of the actual folder
  13. beefstew

    Delete filesif more than 5 files exist in Directory

    I'm interested in folders and not the files within them as the Cognos application creates a folders structure for each backup
  14. beefstew

    Delete filesif more than 5 files exist in Directory

    /root/folder1 /root/folder2 /root/folder3 /root/folder4 So I would like to monitor Root. If folder 123 and 4 are older than 7 Days delete folders 123 and 4 but only if there are 5 folders. In this case no folders would be deleted because there are only 4 folders
  15. beefstew

    Delete filesif more than 5 files exist in Directory

    Sorry but no that just deleted a load of files. Thanks heavens that wasn't live. lol What I would like it to do is look in a directory and delete all sub folders over 7 days old, but only if there are more than 5 sub folders in total Basically to stop backups taking up all space but at the...

Part and Inventory Search

Back
Top