Triggering client actions from powershell

Is it possiblle to use Powershell to trigger the Client Actions in a task sequence. Im looking to get this done, right at the end.
Fredrik Borchsenius |
http://www.deploymentstuff.com |
LinkedIn |
Lumagate AS

Yes, you can. See for some examples:
http://psrightclicktools.codeplex.com/wikipage?title=Client%20Actions
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude

Similar Messages

  • Shared memory area & triggering "client" actions

    Hi all,
    I'm playing around with shared objects, and I would like to accomplish one thing:
    I have a shared memory and a "client" class which uses it.
    When one of the instances of this client class calls a specific method of the shared memory root class, another instance of the client class should receive a message from the root class. This other instance would be running under a different user.
    Since no events are allowed for shared memory area root classes, event handling on the side of the client class is not possible. I even tried to store references to instances of the client class in the shared memory but this would not work either (surprise! surprise! - CX_SHM_EXTERNAL_REFERENCE
    So apart from periodically querying the root class from the client, is there really no way how to initialize the SHMA->client communication from the shared memory area side ?
    thanks,
    Stanislav Mikulas

    If your clients keep the read connection to the shared memory, is there a way to follow this connection back to the clients?
    But even if so, how could you trigger an event at the client?
    Actually, I think there is no solution besides polling the shared memory objects for changes periodically.

  • Exception while triggering an action in consumer portlet.

    Hi,
    This following exception is noticed while triggering an action from consumer portlet in WSRP. Same request is working fine is standalone producer side application.
    <env:Body>
    <env:Fault xmlns:v1="urn:oasis:names:tc:wsrp:v1:types">
    <faultcode>v1:OperationFailed</faultcode>
    <faultstring>Http Error: [404] : [null].</faultstring>
    <detail>
    <v1:OperationFailed/>
    <fd:FaultDetail xmlns:fd="urn:bea:wsrp:ext:v1:types">
    <fd:created>2009-12-22T22:23:26.904+05:30</fd:created>
    <fd:trace>com.bea.wsrp.faults.OperationFailedException: Http Error: [404] : [null].
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doGetMarkup(MarkupServiceHandler.java:425)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doPerformBlockingInteraction(MarkupServiceHandler.java:718)
         at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.doService(MarkupServiceHandler.java:241)
         at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:68)
         at com.bea.wsrp.producer.container.ProducerEndPoint.processNow(ProducerEndPoint.java:242)
         at com.bea.wsrp.producer.wsee.ProducerEntryPoint.handleResponse(ProducerEntryPoint.java:87)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:341)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:189)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    Above log is captured using the WSRP monitor. If any one came accross this issue? Please help me in giving pointers to close this issue.

    hi,
    Was able to debug the issue. the problem is with the target JSP.
    Some of the include statements in the target JSP are pointing to a wrong URI. so the request is failing in WSRP.
    It looks silly but usefull. I overlooked this issue beacuse i am unable to find issues on producer side because of this.
    cheers,
    Vamsi

  • System variables in R/3 for the action from the portal

    Hi,
    How can we know the action from the portal,i mean from the create expense report i want to throw an error message if the user press "Review" button based on my validation. i have written in the badi,but when the user press "Previous step" button also this badi is getting triggered and as per the validation it is throwing an error message, i cannot go back. Are there any system variables that we can capture which button he pressed from the portal so that i can control to throw an error message only when the user press "Review" button.
    Thanks & Regards,
    Anil kumar

    Resolved

  • Remove Oracle client path from windows 2008 64 bit

    Hi All,
    I had to unstall the epm Hyperion product  after i found that installation need to done on a different language, which has oracle client for both 32 and 64 bit. But when i reinstall it is complaining about the oracle home path.
    Below is the error i get from the log.
    [FATAL] [INS-32053] The original name of the Oracle Home directory specified already exists.
        CAUSE: The name of the Oracle home directory Home indicated on the command line corresponded to a name of origin existing Oracle Home directory in the central inventory.
        ACTION: Choose another name for Oracle Home directory. Abandon this installation session and try again.
    I have made sure that the filesystem is completely is removed after the unstallation except for these client files which i have removed manually.
    Looks like the unnstalation doesn't happen correctly for the clients and old path is somewhere still exists. I have removed the client path from environment variable path list and tried again but no luck.
    Can anyone help me to identify the places where i need to look to remove the earlier Oracle Home.
    Thanks

    The registry, perhaps, or the inventory (which is in c:\program files\oracle or c:\program files (x86)\oracle - cannot recall right now).
    However, if you search Oracle Support for "windows clean machine," you can find an article that shows you how to remove every trace of Oracle software from your Windows computer.

  • Creating PO in abap report that triggers client proxy

    Hi All,
    Can anyone help me in this.
    I wanna create PO thru my abap report, from which i will be triggering client proxy. I have done this PO creation using ALE
    but now as the requirement is to send an attachment as well so using proxy.
    i have got lil idea by going thru forums replies that i can call bapi_po_create in abap report. Is my understanding correct.
    If yes, can i get an idea of the coding.
    Thanks
    Regards

    Hi,
    To create a Purchase order through Coding you can use the BAPI_PO_CREATE.
    Reward points if it is helpful
    Thanks,
    Madhu

  • Triggering of PR from Salesorder

    Hi All,
              Please guide me to know the configuration settings to trigger an Purchase Req from Sales Order.
    Here is the scenario, we have a purchase part (A00112233), some times this part is used as a Salable as well it is used as a component for production order.
    Our client wants to trigger an automatic Purchase Req whenever the part A00112233 has requirement from customer. So they are looking for automatic triggering of PR from customer order.
    What are all the necessary setting needs required to satisfy the above requirement in customization and master data.
    Thanks in Advance.

    For your PR scnearion , will the goods be delivered back to the Plant or directly will be dispatched to the Customer,
    if it is directly supplied to the customer then you can address this with the Thirdparty orde.
    reg
    dsk

  • Triggering of Action in recurring manner

    Hi,
    I have a situation where an action needs to be triggered in a recurring manner. Here is an example.
    1) An action(email) is scheduled to get triggered two weeks from today on condition that status of the document is incomplete.
    2) Now after the lapse of 2 weeks this action needs to get triggered at an interval of 5hrs. So every five hrs an email needs to be sent to the concerned person if the status of the document is incomplete.
    The first part is quite standard and it is achieved. I am facing problem in realizing the second part.
    Any hints will be of great help.
    Thanks & Regards,
    Ambarish

    Hi Ambarish,
    Seems your second requirement refer to Workflow
    functionality. I mean, you can achive action to be
    triggerred by workflow.
    In workflow you can define time and reminder/escalation
    steps.
    Also you may also try to set Action to be trigger
    by custom program (selection report). Then schedule
    this customer program. To achive this, I think you need
    2 actions at least. One Action triggered based on schedule
    and the other one just for reminder/escalation.
    Cheers,
    Gun.

  • PS script file works differently when scheduled vs run from Powershell

    The following script works when run from PowerShell window.
    The script does not work when ran as scheduled task.   The email part works fine, however the body is blank.    It also does not update the timeran.txt file.
    MORE INFO ADDED:     the script is scheduled on the Hyper-V host box.  user is Domain Administrator equivalent.     OS is server w2k12.     TASK  CONFIG:   user is domain\Adminequivalent.   
    Run whether user is logged in or not.      trigger is 7:00 AM.     Action is   Powershell        argument is  .\scriptname.ps1      Start
    in  is   C:\scripts
    TIA..   bob
    # Variables
     $filedate = get-date
     $computer = gc env:computername
     $FromEmail = "[email protected]"
     $ToEmail = "[email protected]"
     # Establish Connection to SMTP server
     $smtpServer = "mail.mydomain.com"
     $smtp = new-object Net.Mail.SmtpClient($smtpServer)
      get-date | Out-File  "C:\Util\timeran.txt" -append
      Measure-VMReplication -ComputerName Hyp-03 | Select Name,Health,LreplTime | ConvertTo-Html | Out-File "C:\Util\report.html"
      $a = Get-Content C:\Util\report.html
    #  email  
     $email = new-object Net.Mail.MailMessage
     $email.Subject = "$($computer) Replication Report: $($filedate)"
     $email.From = new-object Net.Mail.MailAddress($FromEmail)
     $email.Sender = new-object Net.Mail.MailAddress($FromEmail)
     $email.IsBodyHtml = $true
     $email.Body = $a
     $email.To.Add($ToEmail)
     # Send Email
     $smtp.Send($email)
    Bob Lee

    Hi Bob,
    It seems this cmdlet "Get-Content C:\Util\report.html" in the script didn't work in the task scheduler, as Mike said please make sure you have check the option "Run with the highest privileges".
    In addition, I also would like to know if your current logon account is domain admin, I tested with the setting below and ran the task without issue, the TASK  CONFIG: The user domain\Anna is in local administrators group:
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • Invoking client listener from javascript

    Hello,
    I am using ADF Faces 11g.
    I wonder if it is possible to invoke a UI control's client listener from javascript method. For example i have a command link with a client listener, defined like this:
    <af:commandLink id="cl1" text="click here" partialSubmit="true">
    <af:clientListener method="onClickLink" type="action"/>
    </af:commandLink>
    I can find the control in a javascript method, with this: AdfPage.PAGE.findComponent("cl1");
    Now i want to invoke the onClickLink(event) method. How can i do it?
    Thanks.

    Isn't this just calling onClickLink(event)?
    Or do you want to know how to get the function the client listener calls?
    May be you should take a look at http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/classic_api_mistakes_part2/classic_api_mistakes_part2.html
    At about min 35 of he video Frank shows something like what you like to do (as fas as I recall).
    Timo

  • Determinations don't execute if I call action from determination

    Hello,
    I need to trigger an action from a determination. If I do it action executes, however all determinations are skipped. And as a result calculated fields remain with wrong values. I debugged a lot, and found that determination don't execute if action was triggered during internal update (like other determination). As for me - it it huge undocumented drawback that can lead to big problems.
    Why it was done in such way and what should I do?

    Hi Johnny,
    I had a similar requirement. In my case I had to trigger a validation from an action.
    So I had an object created type ref to the validation class & then called the execute method of that validation class.
    So in your case, trigger the action class in the required determination. So that after the execution of the action class is completed it will go back to determination & the rest of the determinations will be followed.
    Hope this helps you.
    Regards,
    Sanket.

  • Listing RDS 2012 R2 collections from powershell remote fails

    I'm trying to list different informations of a RDS server farm => from a remote client PC <=
    I do following but when typing the last command - I get an error.
    Knowing that that same command runs correctly when launched from an RDS server
    enter-pssession RDS-SERVER-XYZ.contoso.net
    import-module remotedesktop
    get-command -module remotedesktop
     Get-RDSessionCollection -ConnectionBroker RDS-BRK-1.contoso.net
     => fails with message :
     Cannot index into a null array.
     At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\remotedesktop\Utility.psm1:54 char:9
     +     if ($_script_resource[$Id])
     +         ~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : NullArray
     Cannot index into a null array.
     At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\remotedesktop\Utility.psm1:54 char:9
     +     if ($_script_resource[$Id])
     +         ~~~~~~~~~~~~~~~~~~~~~~
         + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
         + FullyQualifiedErrorId : NullArray
     Get-RDSessionCollection :
         + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
         + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDSessionCollection
    Listing RDS 2012 R2 collections from powershell remote fails / same commandlet from local RDS serevr works fine
    Am I missing something ?
    MCTS Windows Server Virtualization, Configuration

    Are the Windows Remote Management rules enabled on the inbound firewall of the RDSH server?
    If you are running multiple roles on the RDSH  server you may need to increase the size of the memory available for powershell remoting.
    Run Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000 with powershell as an admin and reboot.
    HTH,
    JB

  • Automate Client upgrade from 7.0 to 7.5

    How can you automate the ZAM Client upgrade from 7.0 to 7.5? If I run the setup.exe for 7.5 it generates an error saying a previous version was detected, please uninstall it first. I would have thought there would be some kind of upgrade switch.
    Thanks
    Lenny

    lennyd,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Identify partner which triggered the action

    Hi There,
    From my CRM Order multiple outputs/actions will be triggered. Action profile and everything is being configured.
    For some post processing work I need to identify the partner for which each action was triggered. I am looking PPFT* tables for this but couldn't find the exact field for this.
    Any suggestions on this will helpful?
    Regards,
    Rams.

    Hi Rams
    For E mail you can check the table SOST and SOOS.
    Thanks

  • View data in client B from client A in the same SID without a valid logon?

    Hi Folks
    We are planning on upgrading our 4.6C system to ERP 6.0, and are initialy considering having two clients in the same sandbox SID.  One would be for the developers to perform code remediation checks (client A), and one would contain a copy of production data for performing testing of functionality over live data (client B).
    Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A?   For example via the use on an ABAP program to SQL the database?
    I know one can use transactions like SM30/SM31 to view, compare, and adjust data between clients, but this requires an RFC connection and valid logon to the target client.
    Regards
    Kevin.

    Hi Kevin.
    >
    Kevin McLatchie wrote:
    > Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A?   For example via the use on an ABAP program to
    Short answer: yes.
    If someone has the right to write and execute ABAP reports on the system he is able to access the data of all clients. So I don't think that this setup is advisable. Don't mix development and production data in one system.
    Best regards,
    Jan

Maybe you are looking for

  • Yet another problem getting a .jar file working on Mountain Lion

    The program I need to run is used for generating sounds. Its a simple java program, set up in a Windows .msi container: http://innertotality.com/?q=node/9 I currently have the most up to date Java build from Oracle, according to their online test: v7

  • Transfer photos from flash drive to mac pro

    cannot find flashdrive when i go to import to library under file  tab as help menu suggests

  • How do I correct error messages MSVCR80.dll and windows error 7 126?

    After installing the latest itunes update, I received two error messages:  MSVCR80.dii and windows error 7 126?  I cannot access itunes at all and am eager ti fux these errors.  If Apple itunes is at fault I sure wish they would fix the problem.  At

  • BurnNow software for X201

    Hi all complete lenovo newbie here. I need to create an clone image for a Lenovo X201 using the site license version of Windows 7 belonging to my employers. Unfortunately this means doing a windows install from scratch. Everything was going great unt

  • How to avoid record rejection due to conversion failed for dirty data

    There is a source delimited flat file created with codepage CP936, simplified Chinese. Data Services XI on HP Unix has to extract this file to a UTF-8 db2 table. However, because the flat file contains a lot of dirty or corrupted characters for Chine