Jump to content

dot45

Active Members
  • Posts

    51
  • Joined

  • Last visited

About dot45

  • Birthday November 1

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

dot45's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. http://www.cisco.com/en/US/products/sw/cscowork/ps2425/index.html
  2. With cisco gear, its best to just write a config locally then you can upload it to the switch. Or look into CiscoWorks (a gui management app for all kinds of cisco gear)
  3. I'd love to see it included in the AD UDF, it would be best to have that available in the same UDF as the other AD functions most network admins will use.
  4. One function that would be great to have, would be a function to join a computer to a domain. With the CreateComputer function we can pre-create the account, but it would be great to script the joining process on the pc.
  5. Sounds good to me, will be testing the ad_createcomputer function shortly. (Been waiting for that one )
  6. Be sure that your winwaitactives are correct, also it might be better to use controlclicks instead of mouseclicks.
  7. The above code does almost what i need. How do I get the computer account to be created in another OU besides the default one? eg. I am adding machines that need to go into a different ou to be managed properly as they are running xp embedded.
  8. $7za = "c:\HP_UPD_PS\7za.exe e c:\HP_UPD_PS.zip HP_UPD_PS\ -y" MsgBox (0, "Installing Printers", "The Printers are now being installed to this pc, this process will take about 2 minutes.",10) ;Just a message box DirCreate ("c:\HP_UPD_PS") ;Create empty directory to hold print drivers when unzipped FileInstall("C:\Pmig\printer\printmig.exe","c:\",1) ;Extracting from executable print migrator to root of C:\ FileInstall("C:\Pmig\printer\5C_WYSE_PS.cab","c:\",1) ;Extracting from executable printer cab settings to root of C:\ FileInstall("C:\Pmig\printer\HP_UPD_PS.zip","c:\",1) ;Extracting from executable HP Universal Print Driver Post Script (No version) to root of C:\ FileInstall("C:\Pmig\printer\7za.exe","c:\HP_UPD_PS\",1) ;Extracting from executable 7 zip executable to unzip print driver RunWait($7za,"",@SW_LOCK) I am trying to get this part of my script to extract a zip to a folder that i have already created. The script appears to run (been running it as a CUI compiled script), it looks like it extracts but the files dont get extracted to the folder. The command runs fine if executed manually, both from a run box and a command prompt. Any ideas?
  9. subscribed
  10. look at the functions listed below loop sleep run
  11. noted, and saved
  12. Here is some code from scriptomatic (search this it rocks) that will pull what you need from WMI ; Generated by AutoIt Scriptomatic $wbemFlagReturnImmediately = 0x10 $wbemFlagForwardOnly = 0x20 $colItems = "" $strComputer = "localhost" $Output="" $Output = $Output & "Computer: " & $strComputer & @CRLF $Output = $Output & "==========================================" & @CRLF $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2") $colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_CheckCheck", "WQL", _ $wbemFlagReturnImmediately + $wbemFlagForwardOnly) If IsObj($colItems) then For $objItem In $colItems $Output = $Output & "Check: " & $objItem.Check & @CRLF $Output = $Output & "Location: " & $objItem.Location & @CRLF if Msgbox(1,"WMI Output",$Output) = 2 then ExitLoop $Output="" Next Else Msgbox(0,"WMI Output","No WMI Objects Found for class: " & "Win32_CheckCheck" ) Endif you would just need to make $drive = $objItem.Location (assuming that the computer only has one optical drive)
  13. Thanks, OMG is it a Monday
  14. what method are you using to determine the "logged on user"?
  15. I have never seen any app that can do what your asking, as far as i know the charging circuit is not controllable from within the OS, since it has to handle charging while the computer is powered off as well.
×
×
  • Create New...