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

    modify code

    I have a script that reads from a file, and sorts the data out into a text file. Here is the format it reads from: CN=Lastname\, Firstname,OU=Users,OU=sports group,DC=domain,DC=name, DC=com This code will read the data and put it into a text file: if Mid(strData,1,2)=" C" then...
  2. n3tw0rkadm1n1strat0r

    Bulk Contact Import Script

    I need a little help with this script...it seems that if a cell is blank, it error's out and stops the script. Also, if the contact already exists it errors out...does anyone know how to fix this? Option Explicit Dim objRootLDAP, objContainer, objContact, objExcel, objSheet Dim strOU...
  3. n3tw0rkadm1n1strat0r

    Enable Windows File and Printer Sharing remotly

    Is is possible to enable windows file and printer sharing remotly via a vbs script?
  4. n3tw0rkadm1n1strat0r

    help with ping script

    What am I doing wrong here? The script doesn't error out... Dim strComputer, objShell strComputer = computername set objShell = CreateObject("WScript.Shell") objShell.Run("%comspec% /K ping "" & strComputer & "" -t"), 0, True If objShell = "Request timed out." then msgbox "& strComputer & is...
  5. n3tw0rkadm1n1strat0r

    enable windows file and printer sharing

    Does anyone know how to enable windows file and printer sharing through vbs to a remote machine?
  6. n3tw0rkadm1n1strat0r

    pc shudown script

    I can't figure out why this isn't working...I'm bad with the quotes...It gives me an error saying that the system cannot find the specified file, but I know that it is there. Set objShell = CreateObject("Wscript.Shell") strComputer = InputBox("Enter the PC name to shutdown:") strMessage =...
  7. n3tw0rkadm1n1strat0r

    Lock down computer management or drive letter changing

    Is there a way to lock down computer management in citrix without causing permissions issues? We have had issues with "someone" changing the driver letter mappings of some of the drives. All the users in the farm are power users. Can anyone help? Thanks.
  8. n3tw0rkadm1n1strat0r

    Script to grab total pages printed from printers

    Does anyone know of a script that will grab the total pages printed from a printer?
  9. n3tw0rkadm1n1strat0r

    Delete Rows with certain data

    I've tried this code to filter out the rows that contain certain data: objExcel.Range("A:A").Entirerow.Delete '4 = "Data" But it ends up deleting everything!
  10. n3tw0rkadm1n1strat0r

    Sort rows alphabetically by whats in colum A

    Does anyone know how to sort rows alphabetically by whats in column A for excel?
  11. n3tw0rkadm1n1strat0r

    Sort rows alphabetically by whats in colum A

    Does anyone know how to sort rows alphabetically by whats in column A? This would be using VBscript...
  12. n3tw0rkadm1n1strat0r

    Unable to get the SpecialCells property of the Range class error

    I am getting this error when running my script: "Unable to get the SpecialCells property of the Range class error" Here is my code in vbs: Set objExcel = CreateObject("Excel.Application") objExcel.Application.DisplayAlerts = False objExcel.Visible = False Set objWorkbook =...
  13. n3tw0rkadm1n1strat0r

    Silent bat file to now pop up command prompt

    How to I set a batch file to run so the command prompt doesn't come up and flash?
  14. n3tw0rkadm1n1strat0r

    Export more then one OU with CSVDE?

    Does anyone know how to export more then one OU with csvde to all go in the same file? This is what I have but its only for one OU and I cannot figure out how to put another one in there... CSVDE -d "OU=Users,OU=Ballpark Services,DC=domain,dc=com" -f Ballpark.csv -r objectCategory=person -l...
  15. n3tw0rkadm1n1strat0r

    Citrix and Avocent

    Avocent is a KVM. It seems that the dongle is uses on the server keeps trying to map a drive which causes this error when trying to log into global desktop: wfshell.exe - no disk There is no disk in the drive. Please insert a disk into drive \device\harddisk1\dr3. Has anyone come across...
  16. n3tw0rkadm1n1strat0r

    Website Connectivity Script

    Does anyone know of a script that will check to see if a website is up? Not a script that will just ping the website, because that just says if the server is up, but the website itself...
  17. n3tw0rkadm1n1strat0r

    Capture output of command and save to text file

    I am new to perl and have started this script going off of another one. I am trying to capture the output of a command and save it to a text file. Here is what I have so far: #!C:\Perl\bin\perl.exe open (IN, "omnidb -session -latest -detail|") ; while (<IN>) { $data = $_ ;
  18. n3tw0rkadm1n1strat0r

    Need help making this into a script

    Ok so I am having trouble making this script work, its for Data Protector, a backup program: @echo off for slot in `omnimm -list_pool IDB | \ grep "Library Name" | \ cut -f 2 -d: | \ cut -f 1 -d"]" ` do omnimm -eject "Library Name" $slot I'm not really good with the for statements but I have...
  19. n3tw0rkadm1n1strat0r

    Eject media after session from certain pool

    I am using DP 5.5 on windows 2003. I have been trying to make a script to eject the tape automatically after the job finishes. I have a pool called "IDB" that only has 2 tapes in it. There is always only 1 tape in at a time, the other is stored in a safe. I know how to eject a tape...
  20. n3tw0rkadm1n1strat0r

    Scheduled Registry Backup

    Does anyone know how to backup the registry from command line? I want to do a specific folder. Then I would just schedule it to run...

Part and Inventory Search

Back
Top