Using output from pwd in current directory

Hi,
I'm new to EEM in IOS-XR or EEM in general. 
I'm looking to use the output from the CLI in the current vty session and use it as a argument to a TCL-script.
Example: 
RP/0/RSP0/CPU0:Router(config)#router isis  1
RP/0/RSP0/CPU0:Router(config-isis)#pwd
Mon Mar 17 10:38:01.827 CET
router isis 1
I was thinking a alias that triggers a tcl-script and then executes a command in the same working directory as the user who executed the alias is in or some other way and can save the information from the current session. 
Is this is possible?

Unfortunately, this is not possible.  The config submode is not passed as a variable to the CLI event detector.

Similar Messages

  • Using output from dynamic DL to add to sharepoint group

    Hi,
    I have output a dynamic DL to a variable $people but am unable to add users to a sharepoint group with the method below:
    $poeple | foreach {Add-SPOUser -Group "US Team Members" -Site https://contoso.sharepoint.com -LoginName $_.PrimarySMTPAddress}
    Output for the above command is Add-SPOUser : Cannot bind argument to parameter 'LoginName'
    Which tells me there is an issue with my variable supplying the PrimarySMTPAddress property. When I check against get-member, it is definitely there. See below:
    PS> $people | gm | findstr -i primary
    PrimarySmtpAddress                     Property     System.String {get;set;}
    I am not sure how to proceed about accomplishing this or if it is even possible. Any help is greatly apprecated! Thanks all!

    I don't have the same cmdlet to test but give this a shot:
    $people | foreach {Add-SPOUser -Group 'US Team Members' -Site 'https://contoso.sharepoint.com' -LoginName "$($_.PrimarySmtpAddress)" }
    or
    foreach ($person in $people)
    Add-SPOUser -Group 'US Team Members' -Site 'https://contoso.sharepoint.com' -LoginName "$($person.PrimarySmtpAddress)"

  • I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor

    I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor. Could you suggest me appropriate driver IC using which this problem can be solved.
    Saravanan.T

    You really should use a DC motor controller to control a DC motor, look at the 754410 IC for a good example. You should be able to interface these to most DAQ devices.
    Alan

  • What is the best way to run two programs simulataneously using the output from one to run the other?

    I just kind of wanted to get an opinion from some people on here. I have two main VIs. The first is a DAQ system that reads 99 different sensors and feeds that data into an array. The second is a real-time processing system that is designed to take the array and do numerous calculations. Both VIs output data to the front panel that I want to see, so I don't want to just use one as a SubVI.
    Is there a simple way to run both VIs, using the output from the DAQ system to feed the processor so that you can easily see the front panels of both VIs? I had considered just copying the real-time processor code into the DAQ VI, but I'm worried the resultant VI will be very large and unsightly.
    On a side note, am I over thinking this? Excuse me if this is a rather dumb question, it's been a long week...aaaand it's Wednesday.
    Solved!
    Go to Solution.

    There are a number of ways that you can go about this, but having both front panels open isn't a problem (assuming there is screen space!). Both could be sub-vi's of another "calling" vi, with their front panels set to open when called. The data from the DAQ side can be sent to the other through a number of ways, "producer-consumer" (many threads about this topic, examples in the LabVIEW examples, etc.) is one of the more robust techniques. If created correctly it allows one to run at a different rate than the other, although if the producer is "producing" much faster than the consumer can "consume" it will end up with problems.
    I guess I type too slowly
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Getting current directory from an applet

    Hi. How can I get the current directory of my applet running on web without having to worry about permissin. I used the one below:
    curDir = System.getProperty("user.dir");
    but I get this error:
    ava.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
    any substiture for this? Thanks.

    You should be using URLs or similar approaches, and avoiding File, which will
    never work with an ordinary applet.
    InputStream in = this.getClass().getResourceAsStream("file.txt");That assumes the txt file is in the same place as the current classes .class file.
    For example, the same folder or that they are jarred in the same "folder" in the jar.
    You can also use a URL directly:
    URL url = ...
    InputStream in = url.openStream();and you can construct that URL with the help of Applet methods getDocumentBase or getCodeBase:
    URL url = new URL(this.getDocumentBase(), "file.txt");That assumes the txt file is in the same folder as the html file in which the applet is embedded.

  • Getting the output from a Perl script using Runtime.exec

    I cannot get the output from a perl script using Java. Can someone PLEASE help?
    I used the following code:
    Process p = Runtime.getRuntime().exec("C:\\Perl\\bin\\Perl.exe script.pl) ;
    InputSream in = p.getInputStream();
    b...
    do
    System.out.println(b);
    while ((b = in.read()) > 0)
    But there is no way that I get the output in the inputstream. If I use the command "cmd script.pl", the output is displayed in the Dos box, but also not in the inputstream.
    I will appreciate any help.

    Try this
    Process p = Runtime.getRuntime().exec("C:\\Perl\\bin\\Perl.exe script.pl) ;
    BufferedReader rd = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String str;
    while((str=rd.readLine())!=null){
    System.out.println(str);
    Manu

  • Problem in provisioning user from oim to active directory using ssl

    hi,
    problem in provisioning user from oim to active directory using ssl i am getting following error while provisioning user to AD.
    15:18:12,984 ERROR [ADCS] Communication Errorsimple bind failed: 172.16.30.35:636
    15:18:12,984 ERROR [ADCS] The error occured in tcADUtilLDAPController::connectTo
    AvailableAD():simple bind failed: 172.16.30.35:636
    15:18:13,015 ERROR [SERVER] Class/Method: tcProperties/tcProperties encounter so
    me problems: Must set a query before executing
    com.thortech.xl.dataaccess.tcDataSetException: Must set a query before executing
    at com.thortech.xl.dataaccess.tcDataSet.checkExecute(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.util.tcProperties.<init>(Unknown Source)
    at com.thortech.xl.dataobj.util.tcProperties.initialize(Unknown Source)
    at Thor.API.tcUtilityFactory.getLocalUtility(Unknown Source)
    at Thor.API.tcUtilityFactory.getUtility(Unknown Source)
    at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.co
    nnectToAvailableNextAD(Unknown Source)
    at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.se
    archResultPageEnum(Unknown Source)
    at com.thortech.xl.schedule.tasks.ADLookupRecon.performReconciliation(Un
    known Source)
    at com.thortech.xl.schedule.tasks.ADLookupReconTask.execute(Unknown Sour
    ce)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionActi
    on.run(Unknown Source)
    at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown S
    ource)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
    ava:520)
    can any one help.
    Thanks and Regards,
    praveen,

    Are you able to connect to AD over SSL through some LDAP Browser ?
    Check the validity of Certificate ?
    Does your certificate appear in the list ?

  • Print HU label from Outbound delivery using output determination

    Hi,
      We have a business requirement to print HU labels from outbound delivery. The steps followed are
    1) User executes VL02N
    2) User clicks on packing
    3) Material is entered to pack. HU is automatically generated.
    4) After saving the delivery, output message is triggered.
    Output determination is as follows
    1) An Z output type is created.
    2) Form entry and smartform name is assigned to this output type
    Issue:
    The issue is when the output message is triggered and the code in the form entry is executed, the handling unit (from nast) is not yet committed in the database. Since it is not updated in the database table, we cannot get any handling unit data to be printed.
    Any inputs on how to print HU labels using output determination from outbound delivery is appreciated.
    Thanks,
    Sandeep

    Hi Surya,
         Thanks for the reply. But, my question was how to print labels from VL02N when i pack a material on this delivery.
    Regards,
    Sandeep

  • HT4437 using airplay from my ipod touch 4th gen. no audio output from the tv. on the ipod it shows that it is streaming to the apple tv. whats the problem

    i get the air play icon on my ipod touch. when i click it the output from my ipod stops but i dont get any audio from my tv. whats the problem?

    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar 

  • ** How to deliver multiple files using BPM (From RFC output)

    Hi Friends,
    I am doing File-RFC-File scenario using BPM. I am using BAPI_SFLIGHT_GETLIST as my RFC (Standard RFC). If we execute this RFC, it will return the results in tables form. Assume that, the inputs to RFC is like below.
    FromCountryKey : US
    FromCity: NEW YORK
    ToCountryKey: DE
    ToCity: FRANKFURT.
    The outputs from the RFC is like below.
    26 Entries
    CAR
    CONN
    FLDATE
    AIR
    AIR
    DEPTIME
    SEATSMAX
    SEATSOCC
    |
    DL
    0106
    19.05.2008
    JFK
    FRA
    19:35:00
    280
    266
    UA
    3516
    20.05.2008
    JFK
    FRA
    16:20:00
    380
    364
    LH
    0401
    23.05.2008
    JFK
    FRA
    18:30:00
    220
    209
    LH
    0401
    28.05.2008
    JFK
    FRA
    18:30:00
    220
    208
    UA
    3516
    28.05.2008
    JFK
    FRA
    16:20:00
    380
    367
    DL
    0106
    16.06.2008
    JFK
    FRA
    19:35:00
    280
    261
    UA
    3516
    17.06.2008
    JFK
    FRA
    16:20:00
    380
    357
    LH
    0401
    20.06.2008
    JFK
    FRA
    18:30:00
    220
    213
    DL
    0106
    14.07.2008
    JFK
    FRA
    19:35:00
    280
    1
    UA
    3516
    15.07.2008
    JFK
    FRA
    16:20:00
    380
    86
    LH
    0401
    18.07.2008
    JFK
    FRA
    18:30:00
    220
    123
    DL
    0106
    11.08.2008
    JFK
    FRA
    19:35:00
    280
    56
    UA
    3516
    12.08.2008
    JFK
    FRA
    16:20:00
    380
    67
    LH
    0401
    15.08.2008
    JFK
    FRA
    18:30:00
    220
    114
    DL
    0106
    08.09.2008
    JFK
    FRA
    19:35:00
    280
    0
    UA
    3516
    09.09.2008
    JFK
    FRA
    16:20:00
    380
    164
    LH
    0401
    12.09.2008
    JFK
    FRA
    18:30:00
    220
    64
    DL
    0106
    06.10.2008
    JFK
    FRA
    19:35:00
    280
    80
    UA
    3516
    07.10.2008
    JFK
    FRA
    16:20:00
    380
    8
    LH
    0401
    10.10.2008
    JFK
    FRA
    18:30:00
    220
    16
    DL
    0106
    03.11.2008
    JFK
    FRA
    19:35:00
    280
    11
    UA
    3516
    04.11.2008
    JFK
    FRA
    16:20:00
    380
    33
    LH
    0401
    07.11.2008
    JFK
    FRA
    18:30:00
    220
    53
    DL
    0106
    01.12.2008
    JFK
    FRA
    19:35:00
    280
    0
    UA
    3516
    02.12.2008
    JFK
    FRA
    16:20:00
    380
    45
    LH
    0401
    05.12.2008
    JFK
    FRA
    18:30:00
    220
    25
    |
    We need to create output file for each record. In this case, the system should generate 26 output files.
    I imported the RFC and created the required interfaces and designed BPM also.
    Start --> Receive step --> Synchronous Send --> Asynchronous Send
    But, I stuck in how to deliver each record to the output file from BPM.
    Any idea, friends. (like using BPM Multi-line option. or 'Receiver From' property in the Send Step)
    Kindly help me friends to solve this issue.
    Thanking you.
    Kind Regards,
    Jeg P.

    Hi
    You can do it by creating one another message interface having structure same as your table.
    What you have to do is create a mapping in such a way that for each record in table one message(newly created) must be created.
    Use that mapping in an interface mapping, remember occurence of target message should be 0..Unbounded both in message mapping and interface mapping.
    Now create one single line message and one multiline message in BPM for newly created message.Use transformation step with new interface mapping, mention source(RFC response) and target message(use multiline element of new message) for the transformation step.
    Use send step inside a block,set block mode to "forEach", and attach new message to that send step.
    Use multiline and single element of new message in the property window of block.
    Now your BPM will look like
    Start ---> Receiver ---> Synchronous send ---> Transformation ---> Block ---> Async Send(within block)
    I think in this way you can implement what you want.
    Regards
    Sami
    Reward points if helpful.

  • How to read files from current directory for applet

    I have an applet that needs to read some audio files located in its current directory on the server and I just can't seem to figure it out...maybe I am being dumb...any help?

    You can use the ListSorter File Adapter Configuration property to sort based on timestamp. Basically add the following property to the inbound JCA file:
    <property name="ListSorter"
    value="oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending"/>
    <property name="SingleThreadModel" value="true"/>
    More info see section 4.2.6 in http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm

  • I bought a used computer and I am currently upgrading to Mavericks.  How can I erase the current password from the seller?

    I just bought a used computer and i am currently updating this computer to Mavericks upgrade for free.  How can I wipe it clean, and also how can I reset the password from the sellers password?

    You really have to start with the MBP as it came out of the box.  Read these directions;
    http://www.thesafemac.com/how-to-prepare-your-mac-for-sale/
    You then will have to create your own password and account.
    Ciao.

  • [svn] 4463: Use svn: ignore to suppress some new build output from appearing in 'svn status'.

    Revision: 4463
    Author: [email protected]
    Date: 2009-01-08 18:33:41 -0800 (Thu, 08 Jan 2009)
    Log Message:
    Use svn:ignore to suppress some new build output from appearing in 'svn status'.
    AIR SDK Readme.txt
    frameworks/projects/air
    lib/fxgutils.jar
    modules/fxgutils/classes
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: None
    Property Changed:
    flex/sdk/trunk/
    flex/sdk/trunk/frameworks/projects/
    flex/sdk/trunk/lib/
    flex/sdk/trunk/modules/fxgutils/

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • I am not getting any output from the speakers of the ipad. However the sound is ok if i use headphones. Can anyone help?

    I am not getting any output from the speakers of the ipad. However the sound is ok if i use headphones. Can anyone help?

    1. Check the Side Switch
    http://i1224.photobucket.com/albums/ee374/Diavonex/00bf6eae.jpg
    2. Double-click the Home button and swipe to the right and check volume control
    http://i1224.photobucket.com/albums/ee374/Diavonex/ea5b842d.jpg
    3. Settings>Notification>Game Center>Sound>ON
    http://i1224.photobucket.com/albums/ee374/Diavonex/67a15edf.jpg

  • [svn] 3687: Add some messaging tests for scenarios that involve subscribing to a destination , disconnecting from the channel currently being used and resubscribing to the destination .

    Revision: 3687
    Author: [email protected]
    Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxml

    Revision: 3687
    Author: [email protected]
    Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxml

Maybe you are looking for

  • VLD-0917: An unknown error occured while generating FACT

    I'm trying to move my OWB repository from machine_1 to machine_2 this is what I did: 1. Export of the OWB metadata for the entire project. (machine_1) 2. Import of the OWB project in machine_2, import is successfull. 3. Configure locations for the so

  • Cropping in preview makes green artifacts

    Occasionally, when I crop a photo in Preview (in Snow Leopard -- didn't notice this in Tiger), the program messes up and makes like part of the photo green or have green lines over it. I can't reproduce right now to get a screenshot, but I've already

  • Displaying HFM Member name and description in separate columns

    Hi, I am trying to show HFM member code(Account Code) and Description in two columns in Financial Report (FR),anyone has idea whether that would be possible in HFM reports? I thought of using MemberDesc but that will not serve my purpose. Thanks Asam

  • Weblogic Physical Vs VMWare

    Hi, We are planning to build a new enterprise level platform running OSB/WLI/BPEL PM on Windows 2008. We are at crossroads on deciding whether to go for physical Vs Vmware. Since oracle licenses are tied to physical CPU cores, we want to utilise the

  • Adobe Flash Player not accepted?

    In using my browser on iPad mini, reading daily mail and news, I want to do the daily crossword, but notified that Adobe Flash Player is needed, but iPad system not compatible and I can't download the plug-in.  OK.  Is there another way to work with