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 strongm 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. scanjam

    sender blocking in exchange 2003

    i think you can do it on the Routing Groups > Connectors The delivery rescrictions tab exists for adding users. There is a MS kb article however that needs to be applied first (to actually enable this feature) and its best not to use GROUPS as this means exchange has to expand the list of...
  2. scanjam

    Set Default storage group for mailbox creation?

    thanks for the update! ill see what else i can find... :)
  3. scanjam

    Set Default storage group for mailbox creation?

    we have 2 exchange servers with 4 mailbox stores. Server 1 is live server 2 is 'DR' and offline. (though tested ready for fail over) everytime we create a new user it defaults to the DR server listed first. Can we change the 'default' Storage group and mailbox store to the Live Server always...
  4. scanjam

    VBSCRIPT and WMI for serial or Batchfile?

    Thanks for the messages! Batchfiles might work - but I gave up in the end - the vbscript attached above will do exactly what i was trying to do with batchfiles for the past 3 days... Thanks for the messages and help!
  5. scanjam

    VBSCRIPT and WMI for serial or Batchfile?

    actually never mind - i managed to write this in VBSCRIPT heres the final working solution - so much for easy command prompt... ha strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colBIOS =...
  6. scanjam

    VBSCRIPT and WMI for serial or Batchfile?

    Without running it as a batch file (ie just cutting and pasting manually) here is the Command im using: (its wrapped the text) for /f "usebackq skip=1" %v in (`wmic bios get serialnumber`) do \\server\c$\dnscmd.exe dnsserver /RecordAdd london.com ilo%computername% CNAME ilo%v.london.com (im...
  7. scanjam

    VBSCRIPT and WMI for serial or Batchfile?

    no offence taken - your exactly correct about my posts being inaccurate and misleading. Im just trying the last command you posted now - ... :) Thanks again!
  8. scanjam

    VBSCRIPT and WMI for serial or Batchfile?

    the entire thing works perfectly if i cut and paste the serial number from the command 'wmic... etc' TO a test file, but not if i export the output of the command to a file first adn then run the dnscmd from the file. The wmic bios get serialnumber does 2 things. It outputs the frist line...
  9. scanjam

    VBSCRIPT and WMI for serial or Batchfile?

    wmic bios get serialnumber > c:\serial.txt returns SerialNumber CZJ12xxxxx I have to skip the first line. But the read of this file isn't working.... Its just coming back blank... i'm using for /f "skip=1" %1 in (c:\serial.txt) do "\\server\c$\dnscmd.exe server2 /RecordAdd...
  10. scanjam

    VBSCRIPT and WMI for serial or Batchfile?

    I have a this batchfile that is working but running to many times. for /f "skip=1%%1 in ('xxxx csproduct get identifyingnumber') do \\server\postimage$\dnscmd.exe DNSSERVER /RecordAdd test1.com ixx%computername% CNAME ixx%%1.test1.com Effectivly this just needs to extract the servers serial...
  11. scanjam

    Server 2003 ASR Recovery Fails - Single DC

    still it could be much worse i have been through the same pain before involving SBS2003, failed AD, exchange 2003 and a 40GB database, 30+ users, all their PC's and user accounts - complete nightmare.. 1 domain controller & no backups = disaster waiting to happen!! Good luck mate!!
  12. scanjam

    Server 2003 ASR Recovery Fails - Single DC

    soudns painful! how many PC's / users? It wasnt SBS was it? Are you / were you running exchange?
  13. scanjam

    Server 2003 ASR Recovery Fails - Single DC

    when you say only one windows 2003 - im assuming you mean the only domain controller... ??? If there are other domain controllers youll be in luck... (ntdsutil and stealing the FSMO roles etc) this may help with an explanation though no solution unfortunately.... :(...
  14. scanjam

    DHCP stupidity! Help!

    We have 2 microsoft Windows 2003 DHCP Servers that are superscoped. If i plug my laptop into network A and get a lease on network A then move to network B - I get the same address as previous lease, not a network B address. Any pointers or ideas? this has me stuffed... Cheers and thanks in...
  15. scanjam

    n00b needs basic script! please help! :)

    If i wanted to output The Full files path, FTP_Server(Everything after on this line) then the same for FTP_User Can it be as simple as: if (inStr(strLine, "FTP_Server=", "FTP_User")) then strResults = strResults & fso.GetAbsolutePathName() & strLine & vbNewLine will this recurse...
  16. scanjam

    n00b needs basic script! please help! :)

    tragically all i hve is this but need a variable on the file that it fnids (ie *.ini anywhere under d: ftp) grrrrrr wish i was better at this.. :) Dim oFSO, sFile1, sFile2, oFile1, oFile2, sText Set oFSO = CreateObject("Scripting.FileSystemObject") sFile1 = "c:\test\file1.txt" sFile2 =...
  17. scanjam

    n00b needs basic script! please help! :)

    tragically all i hve is this Dim oFSO, sFile1, sFile2, oFile1, oFile2, sText Set oFSO = CreateObject("Scripting.FileSystemObject") sFile1 = "c:\test\file1.txt" sFile2 = "c:\test\file2.txt" Set oFile1 = oFSO.OpenTextFile(sFile1, 1) Set oFile2 = oFSO.OpenTextFile(sFile2, 8) Do While...
  18. scanjam

    n00b needs basic script! please help! :)

    hey hey list legends, Im desperately seeking a basic script that will trawl through a primary directory and all subdirectories for a variable (*.txt or *.ini) for each of the * files found extract 2-3 lines of specific code (they willbe like, FTP_Address= and JOE_FREDDY=) Then get the path...
  19. scanjam

    Citrix AG fails STA authentication

    Do you get this error when logging into the webpage or when you log in, see a list of available apps and then try and launch an application? If you using the diagnostics then it sounds like Secure Gateway. Have you tried reconfiguring the Secure Gateway settings for the STA's? Can the STA's be...
  20. scanjam

    Word 2007 VB macro issue

    What happens if you try the MACRO testing as a domain user when the machine has NO group policies applied to it? Do you have a bunch of group policies just for Office 2007? Disable those specificially. with out office 2007 we had a number of issues with the Word2007 and the Group policy...

Part and Inventory Search

Back
Top