Airport Command Line / Shell Script Tool

Hi,
Is there a way to issue a command to cause an Airport Extreme to reboot? I need to restart my airport extreme fairly often.
Thanks,
Bruce

Hi,
try OMBPlus.
#Connect to repository:
OMBCONNECT owbrep/passwd@mydesignhost:1521:mydesignrep USE REPOSITORY 'owbrep'
#Export
OMBEXPORT MDL_FILE 'C:\\file.mdl' FROM PROJECT 'MY_PROJECT' WITH DEPENDEE_DEPTH MAX INCLUDE_USER_DEFINITIONS OUTPUT LOG 'C:\\file.log'
OMBDISCONNECT
This export one project. If you want to export all projects, don't forget the project "PUBLIC_PROJECT", that contains all public stuff.
Put this into a script and here you go.
Checkout the OWB API and Scipting Guide for more options on OMBEXPORT.
Regards,
Carsten.

Similar Messages

  • Merge/concatenate animation codec movie files in the command line/shell

    We know how to join 2 mp4/h264 movies together in the command line/shell via MP4Box.
    We have not been able to find a similar tool for joining to Quicktime Animation codec movie together via command line/shell.
    Anyone know how to do that of have suggestions?
    thanks,
    paul

    Hi,
    I'm also having trouble with this same issue. I've been trying to change the Quicktime Default Setting to 10-bit uncompressed (btw codec works fine out directly out of QT and other apps), or to use the command line to do quick renders of tiff frame sequences to QT 10-bit. I think its a problem with my syntax on the command line. As per the manual I set up a fileout in a script with 10-bit as the codec, opened the script in Textedit and followed the instructions on p393, and dropped it into the include/startup directory. Below is a copy of the Textedit view of the script output settings. Also, If I want to use these settings the command line what should I change? The quotation marks, commas etc?
    "QuickTime", "Shake 3 QT 1", "Apple FCP Uncompressed 10-bit 4:2:2",
    0, "100W@c6000WDcsuHpoe10pFnKA6W230PPMMRH#0LgfI5ALV1EaKGn3DG3214QaPb03SeOBPg00K1bY AESIIW0KAbabF7YWOQan8401v6QvQehFnRYIBt9be1B4AEjYA6ci8YmM#IKXCg5aRMZC2MXBM0Ani04w HAJLmBrQ97MtegeEEO9d5oBoxCgv7GNhEOvai8INwFwb2roIf91bvbr040HAK4IYCW0",
    0, 44100, 16);
    I get the same message returned in Terminal:
    error: - NRiCompressor - corrupted input data (length)
    The QuickTime codec specified in the global default could not be selected. The system default codec will be selected.
    So it renders to Animation. Something else I found was that the example on p393 in the manual is for 10-bit uncompressed - so I tried copying it right off the page, into Textedit, and into the include/startup dir - still no joy.
    Can anyone shed any light on the matter?
    D.
    G5 Quad 2.5   Mac OS X (10.4.8)  

  • Shell Scripting Tools - If any?

    Does anyone know if there are any Shell Scripting tools (GUI Based) where we can test our scripts in different shells and see the outputs or stuff like that?

    That would be a good idea.
    Usually you write on a standard shell, i.e. in many places ksh is the standard for scripting.
    If you want to run the same script on csh will require sintax changes, you may write a template for the most commonly used commands and use them as a reference to translate the scripts from ksh to csh or viceversa.
    When a gui is out to do this tell us ;-)
    Regards,
    Alejandro

  • How to turn off Bluetooth adapter via command line or script?

    I'm trying to write a batch script that will be able to turn on/off any connected Bluetooth adapters.
    In the "Bluetooth Settings" window, how can I change the "Turn off Bluetooth adapter" setting via command line or script?
    Due to my account not being verified yet, I cannot post a screenshot.  I will update this thread as soon as my account is verified.

    get-service -DisplayName 'Bluetooth Support Service' | Stop-Service
    ¯\_(ツ)_/¯

  • Update command in Shell script

    Hi friends
    sqlplus -s / <<END
    set feedback on;
    update tran2 set sno=1;
    exit;
    END
    when i am using update command in shell script like above
    it is updating the database well...but i just want to know how many rows it is updating and i dont want to commit
    for that
    sqlplus -s / <<END
    set feedback on;
    update tran2 set sno=1;
    set feedback off;
    rollback;
    exit;
    END
    It's working fine
    is there any other method to do the same

    Well what's exactly your requirement? The current requirement doesn't make a lot of sense.
    How many row is going to be updated depends on where clause, if you have no where clause that essentially updating whole table, the number of row updated is count of your rows.

  • How to call a HP-UX command or shell script from Forms 4.5

    Does anybody know how to call a unix command or shell script to get a files list of HP-UX server from Oracle Forms 4.5 on client side? I tried to use DBMS_PIPE package to get it done but I failed. Please let me have the solution if anybody knows how. Very urgent!

    I tried the host command before and it just let me shell to the DOS environment but not HP-UX environment as Forms was running on Windows platform. So, I could not run a unix command or a shell script. Is DBMS_PIPE the only way to get it done?

  • FTP command in shell script

    Hello All,
    I would like to transfer a file from one system to another system.
    so i haven written shell script with ftp command as follows.
    ftp -i 10.14.12.1<< END
    cd C:\Temp
    put $datafile
    ascii
    quit
    But i am getting error.
    Please let me know the sysntax followed by me is correct or thar remote system is down,
    Many thanks,
    Kumar.

    The ftp(1) command is not well-suited for scripting. Instead us the curl(1) tool:
    curl -T myfile ftp://ftp.some.where/down/in/this/dir/
    for example.
    $ man 1 curl
    for more details.

  • Output format of sqlplus commands under shell script

    hi experts
    Can you help with some problems please?
    1.) I try to run shell script from dbms_scheduler, which runs sqlplus and the output of sqlplus commands is written to file using command spool. To this point everything is running ok.
    My problem is, that output of this file is: (e.g.)
    SQL> PROMPT ****************USERB******************
    ****************USERB******************
    SQL> --SELECT sid
    SQL> -- FROM v
    SQL> -- WHERE audsid = SYS_CONTEXT('userenv','sessionid');
    But I don't want the whole first line in the output file. I only want the output of this command, like on the second line.
    2.) How Can I write two outputs from sqlplus using command spool running at the same time into one file?
    Like in first issue described above. The main sqlplus create a job and this execute the background sqlplus using shell script. But both, the main and the background sqlplus are written to output file at the same time. But only one is written into. But I want the both outputs in the file.
    How Can I do that, if I can?
    Thanks a lot.

    user9357436 wrote:
    hi experts
    Can you help with some problems please?
    1.) I try to run shell script from dbms_scheduler, which runs sqlplus and the output of sqlplus commands is written to file using command spool. To this point everything is running ok. then why are you here?
    My problem is, that output of this file is: (e.g.)
    SQL> PROMPT ****************USERB******************
    ****************USERB******************so remove PROMPT line from the file
    >
    SQL> --SELECT sid
    SQL> -- FROM v
    SQL> -- WHERE audsid = SYS_CONTEXT('userenv','sessionid');
    But I don't want the whole first line in the output file. I only want the output of this command, like on the second line.
    2.) How Can I write two outputs from sqlplus using command spool running at the same time into one file?you can not do so.
    Like in first issue described above. The main sqlplus create a job and this execute the background sqlplus using shell script. But both, the main and the background sqlplus are written to output file at the same time. But only one is written into. But I want the both outputs in the file.
    How Can I do that, if I can?Can't.
    Now what?
    >
    Thanks a lot.Why using DBMS_SCHEDULER to invoke OS script to run sqlplus that runs SQL statements?
    this is like making THREE Left Turns, instead of single Right Turn.
    Just invoke PL/SQL procedure that does what needs to be done.

  • Command line WSDL Generation Tool

    Hi:
    Is it possible to generate wsdls from the command line in oc4j ?
    Thanks in advance,

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    What kind of non-success are you having? The command-line utilities don't run at all? They run but produce unexpected output?
    What platform are you on?<HR></BLOCKQUOTE>
    Hi,
    many thanx 4 ur reply
    I wana run under WINNT platform
    I have Oracle rel. 2 8.1.6 and I have bought
    your book "Oracle XML Application"
    I wanted to run the example 3-3 thats mean
    ROWSET/ROW insert into the faq_table so I have used JDev3.1 than
    <?xml version="1.0" ?>
    - <!-- InsertSunJavaFAQ.xsql : Transform and insert XML in Sun FAQ Format
    -->
    <xsql-status action="xsql:insert-request" result="No posted document to process" />
    I wanted to run the same example3-3 without JDev, so I tried and used the commandline oraxsl tool, so I got error
    command not found or some thing like that..
    After this I'll try chap 12 (specially very interesting topic storing xml file into the database)
    What kind of tool/helperpackage or ..
    I need to run these example.
    Perhapes you know the litrature/book name about oracle and xml in german language.
    Many thanx in advance
    null

  • Configuring Shutdown without logon, using command line or script

    I´ve configured the shutdown without logon capability in Win2012/R2 using the GPEDIT.MSC
    How cna i do that by command line?
    In the past i could use the reg key ShutdownWithoutLogon, but i´ve configured in the GUI but nothing happened in the registry of the win2012/R2
    C:\>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v ShutdownWithoutLogon
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
        ShutdownWithoutLogon    REG_SZ    0
    How can i do that, automated, to configure several computers in workgroup environment

    Hi KayZerSoze,
    Since there has no domain enviroment, remote access is more difficult. However,  if the network allows this two workgroups can communicate with each other, you can try Powershell Remoting:
    Server 1 remote access Server 2.
    1) Run
    Enable-PSRemoting –Force on server2
    You need to run
    Enable-PSRemoting –Force on server1, which gives you the rights to access and modify TrustedHosts setting, or you will receive the error “Set-Item : Access is denied.”
    2) You can add the TrustedHosts entry on server1:
    Set-Item WSMan:\localhost\Client\TrustedHosts –Value remoteipaddress
    This command above configures Windows PowerShell Remoting so that you can connect to any computer, not just those inside trusted domain(s).
    Then run the script below to change registry value on server2 with Powershell, which will change the value of "ShutdownWithoutLogon"
    to "1":
    Invoke-Command -ComputerName server2ipaddress -Credential admin -ScriptBlock {Set-itemproperty -path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -name ShutdownWithoutLogon -value 1}
    For more detailed information about Powershell Remoting, please Refer to this FAQ:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/f60a29ef-925e-4712-9788-1f95e12c8cfc/forum-faq-introduce-windows-powershell-remoting?forum=winserverpowershell
    If there is anything else regarding this script, please feel free to post back.
    Best Regards,
    Anna Wang

  • Install Adobe PostScript in command lines (by script)

    Hello,
    I would like to know if it's possible to install "Adobe PostScript" in command lines (with parameters, by example: shellExecute("c:\winstfre\setup.exe -hidden -port=FILE -DEFAULT=FALSE -PPD=c:\ppd\ADIST5.PPD"); )
    For make a script to install it without windows for the user (silent mode).
    Regards.

    Hello,
    I would like to know if it's possible to install "Adobe PostScript" in command lines (with parameters, by example: shellExecute("c:\winstfre\setup.exe -hidden -port=FILE -DEFAULT=FALSE -PPD=c:\ppd\ADIST5.PPD"); )
    For make a script to install it without windows for the user (silent mode).
    Regards.

  • Turn commands into shell script

    Hey. I want to do this repetitive task and I'd like to write a shell script to do it. The commands that I want the machine to repeat look like this:
    cd /srv/web-data/conferences
    pwd
    ls -al >> /srv/web-data/work.txt
    cd /srv/web-data/conferences/gurt99
    pwd
    ls -al >> /srv/web-data/conferences/gurt99
    And the machine I'm working on tells me this about itself:
    System = SunOS
    Node = gusun
    Release = 5.8
    KernelID = Generic_108528-10
    Machine = sun4u
    BusType =
    Serial =
    Users =
    OEM# = 0
    Origin# = 1
    NumCPU = 5
    What do I have to do to turn a text file with a list of commands like the above into a shell script?
    Thanks, Rebecca

    Kai,
    Here are 3 function you can use in shell script for executing a statement, sqlfile and procedure
    function execStmt {
      typeset stmt=$4
      echo "
        set feedback off
        set verify off
        set heading off
        set pagesize 0
        whenever sqlerror exit 1
        whenever oserror exit 2
        $stmt;
        commit;
        exit 0
      " |  sqlplus -s  $1/$2@$3
      ret=$?
      if [ $ret -ne 0 ]
       then
          return 1;
       else
          return 0;
       fi
    function execSql {
      typeset sqlfile=$1
      if [ ! -f $sqlfile ]
      then
           echo
           echo "File containing extract count doesn't exist...." 
           echo "Exiting ..."
           echo
           exit 1;
      fi
      echo "
        set feedback off
        set verify off
        set heading off
        set pagesize 0
        whenever sqlerror exit 1
        whenever oserror exit 2
        @$sqlfile;
        exit 0
      " |  sqlplus -s  $2/$3@$4
      retcode=$?
      if [ $retcode -ne 0 ]
      then
           return 1;
      else
           return 0;
      fi
    function execPkg {
       echo "
       set feedback off
       set verify off
       set heading off
       set pagesize 0
       whenever sqlerror exit 1
       whenever oserror exit 2
       exec mypkg.procedure_name($4,$5); -- $4,$5 are argument list
        exit
      " |  sqlplus -s  $1/$2@$3
      ret=$?
      if [ $ret -ne 0 ]
      then
           return 1;
      else
           return 0;
      fi
    }Regards

  • Commands in shell script

    Hai all,
    I need to write a script to add in the cron
         a) exec a procedure
    if successful ,then
         b) Truncate one schema table in the DB
         c) exec a procedure
    Can anyone let me know how to do this ? if anyone have any pointers, for the same , please let me know
    DB : 11.
    Os: Solaris 5.10
    Kai

    Kai,
    Here are 3 function you can use in shell script for executing a statement, sqlfile and procedure
    function execStmt {
      typeset stmt=$4
      echo "
        set feedback off
        set verify off
        set heading off
        set pagesize 0
        whenever sqlerror exit 1
        whenever oserror exit 2
        $stmt;
        commit;
        exit 0
      " |  sqlplus -s  $1/$2@$3
      ret=$?
      if [ $ret -ne 0 ]
       then
          return 1;
       else
          return 0;
       fi
    function execSql {
      typeset sqlfile=$1
      if [ ! -f $sqlfile ]
      then
           echo
           echo "File containing extract count doesn't exist...." 
           echo "Exiting ..."
           echo
           exit 1;
      fi
      echo "
        set feedback off
        set verify off
        set heading off
        set pagesize 0
        whenever sqlerror exit 1
        whenever oserror exit 2
        @$sqlfile;
        exit 0
      " |  sqlplus -s  $2/$3@$4
      retcode=$?
      if [ $retcode -ne 0 ]
      then
           return 1;
      else
           return 0;
      fi
    function execPkg {
       echo "
       set feedback off
       set verify off
       set heading off
       set pagesize 0
       whenever sqlerror exit 1
       whenever oserror exit 2
       exec mypkg.procedure_name($4,$5); -- $4,$5 are argument list
        exit
      " |  sqlplus -s  $1/$2@$3
      ret=$?
      if [ $ret -ne 0 ]
      then
           return 1;
      else
           return 0;
      fi
    }Regards

  • Stored Proc Execution through OS command using shell script

    Hi All,
    I have a requirement of executing one stored procedure before putting data in Table through JDBC adaptor and two stored procedures after that.
    I was thinking to write a shell script and execute it before and after message processing in adaptor.
    Can anybody please tell me how should i write a shell script for it?
    I have identified that exec <Stored_Proc_Name> is the syntax for it.
    Will i need to write something more in this script?
    Thanks,
    Atul

    Hi Atul,
    Stored procedures are written on the Database server for which you are going to write JDBC adapter.
    you will just call the storedprocedure in to your adapter.
    as per your requirement you shd run one stored procedure (let us say SP1) and then you have to push data into tables and then run SP2 and SP3...
    so for this write three stored procedures and call them into another SP. in this SP you call SP1 first then insert statement to insert data into tables and then SP2 and SP3.
    finally call SP into your JDBC adapter.
    you can call SP1 in SP as below
    Var_SQL :='call SP1 (''' || Var_1 || ''',''' || Var_2 ||''')' ;
    EXECUTE IMMEDIATE Var_SQL;
    i think for this shell script is not required.. correct me if i am wrong...
    Regards,
    Sukarna.

  • How do you either set "Show More Tiles" or Start Screen rows via command line or script for Windows 8.1?

    Is there a method to change the Start Screens number of rows (similar to Windows 8.0's use of the Explorer\Scaling\MonitorSize in registry). Possibly by forcing the switch for "Show More Tiles" via script etc? This is to enable the device with
    Windows 8.1 to be built using a deployment methodology like SCCM and have the Tiles correctly configured as required for a standard look and feel across devices. I do not know why all these switches are not represented in either WMI or the registry to enable
    the customization of look and feel out of the box for enterprise deployments.
    Thanks for any assistance possible.

    Hi,
    You can try steps in this article.
    How to Change Number of Apps Tile Rows on "Start" Screen in Windows 8 and Windows 8.1
    http://www.eightforums.com/tutorials/2690-start-screen-metro-apps-change-number-rows-windows-8-a.html
    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    Hope this could be helpful.
    Kate Li
    TechNet Community Support

Maybe you are looking for

  • MacPro 10.6.8 won't install updates

    I need to update software. I go to Check for Updates... It runs. There are about a dozen. I click "Install All Updates". A dialog appears "Your computer needs to be restarted to install", I click "Restart". The purple sky window appears for about 2 m

  • Saving a folder (or exporting)

    can anybody advice me as to how to export and or save a PROJECT with images in it that I need for a presentation in Keynote? I need to back this information up or export it in case of a problem and I'm not sure how to do this. Is there a good way to

  • XML load using PL/SQL (XSU) problem with dtd file.

    Hi, I'm trying to load a xml file and receives this errormassage: SQL> exec loadxml; In Exception ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: Error opening external DTD 'Businesscard.DTD'. Any ide

  • Mail Client configuration

    HI All, Can i configure my pop mail client for recieving and sending mail to OTN forum? DJ

  • More details about message with code 31 (DNS update failed) in DHCP log file.

    Hello, Is there any way in Windows Server 2008 R2 to identify which exactly update has failed in DNS when code 31 is encountered. It is for "A" record or "PTR" record of DNS ? Thanks in advance. Regards, Andrejs