How to copy an executable file(s) to multiple windows 64 bit OS Windows 2008 and above and execute the app thru cmd

This is how i phased by goals:
1)Login as admin on remote computers from a txt file.
2) Copy the exe files to Windows folder
3) Using cmd execute the commands
4)Get the output tabulated into a txt file
Can someone help me with this

Being new to PS, i think i am mixing up PS and PSexec.
I launch PS window and run a few commands PSexec commands.
Command to copy MegaCli64.exe file and execute it but i need to actually create a folder in windows and copy two files there.
===============================================================================================================================
PsExec.exe -d -c \\REMOTE COMPUTER  -u administrator -p PASSWORD c:\Windows\MegaCli64.exe 
----copies file in remote computer in windows folder
Here i am also not sure how to feed the txt file with the IP or hostnames of those 100 systems.
Command to launch cmd and execute MegaCli commands:-
=====================================================
psexec \\REMOTE COMPUTER -u administrator -p PASSWORD cmd
-----this launches the commandline for the remote computer then it should run command MegaCli -PDList -aALL
Extracting filtered output to a txt file:-
=========================================
for each hostname or IP, i only need its various
Slot Number:  and their Firmware state:
So this would look like
hostname  slot   firmware state
hostname   slot  firmware state
etc..

Similar Messages

  • How do I get print n share to work after upgrade to iOS 5.  I can print from this app thru wifi.  But it can,t print mail, web pages, etc..

    How do I get print n share to work after upgrade to iOS 5.  I can print from the app thru wifi and PC. However am unable to print mail, web pages, etc..
    In mail when I try to print it just says can,t find air printers.  It used to say print with print  n share.

    I sent e-mail to developer regarding this and they said that basically Apple has denied them access to the Airprint dialog in the new source code for iOS 5.  So, the only way to print to pdf is to capture the e-mail or webpage in the internal apps within Print n Share.  INHO, this really *****.  Apple should make printing to pdf files just a standard feature of all their apps.  If they don't do this, they are going to lose alot of business to the Adroid world as pdf file format is the business standard for all documents.

  • How to copy a pdf file from a windows PC to an iPad?

    how to copy a pdf file from a windows PC to an iPad?

    You can use iTunes to sync the file to the iPad using File Sharing.
    About File Sharing
    http://support.apple.com/kb/ht4094

  • How can copy or move files by my AI plugin in Leopard??

    How can copy or move files by my AI plugin in Leopard??
    Thanks!
    hanyang

    You can use "execve". This example will copy /tmp/file1 to /tmp/file2<br /><br />#include <stdio.h><br />#include <sys/types.h><br />#include <unistd.h><br /><br />pid_t forkPid;<br /><br />char *childargs[] = { "cp", "/tmp/file1", "/tmp/file2", 0 };<br /><br />if( ( forkPid = fork() ) == 0 ) {<br /><br />  execve( "/bin/cp", childargs, NULL );<br /><br />} else if( forkPid > 0 ) {<br /><br />  printf( "Success!" );<br /><br />} else {<br /><br />  printf( "Can't fork" );<br /><br />}<br /><br />For more information, man execve.

  • How can I copy documents from a Sharepoint On Premises library to a Sharepoint Online library and at the same time preserving their metadata?

    How can I copy documents from a Sharepoint On Premises library to a Sharepoint Online library and at the same time preserving their metadata?
    I use the Open Explorer Windows to drag and drop the files, but the metadata are not copied. Thanks.

    To maintain the metadata you'll need to use one of the third party tools that does this kind of migration.  Metalogix has a product with a free trial that we have used before.  (Don't remember whether the free version maintains metadata or not).
     You can read about it here:
    http://www.metalogix.com/Products/Content-Matrix.aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How do I transfer my files from Quicken 13 (Windows) to Lion Compatible Quicken 2007

    How do I transfer my files from Quicken 13 (Windows) to Lion compatbile Quicken 2007

    This discussion has selected links to "greatest hits" from the completely obtuse Quicken so-called "Help" database:
    https://discussions.apple.com/message/22063897#22063897

  • How can I open a file in a seperate window. for example how can"D:\asd.doc"

    how can I open a file in a separate window. for example how can I view "D:\asd.doc" in ms words window ??

    Check out the Desktop class.
    Edited by: pbrockway2 on Aug 23, 2008 2:20 PM
    There's a detailed example in Sun's Tutorial.

  • When the PC System timing runs as per normal, reaches 0000hrs - a new date. How to Auto re-execute the VI from its first sequence order?

    When the PC System timing runs as per normal, reaches 0000hrs - a new date. How to Auto re-execute the VI from its first sequence order?

    Duplicate Post

  • How to execute the valuechangelistener thru javascript ?

    Hi,
    JDev 11.1.1.6
    How to execute the valuechangelistener thru javascript ?
    Regards,
    Gopi

    we need to use ClientListener and ServerListener for calling the method.
    please refer the below threads, these includes the code.
    how to call backing bean method from java script
    Calling the Managed bean class method from javascript on page load
    regards,
    Rajan

  • HT2500 how can i insert a file in a mail message i send to someone?  i don't want the picture to be open or the text to be displayed.  I want to send the file as a file.  Pleas advise.

    how can i insert a file in a mail message i send to someone?  i don't want the picture to be open or the text to be displayed.  I want to send the file as a file.  Pleas advise.  thank you.

    Attach it to the message. An attachment is an attachment -- if it is displayed or not by the recipient's e-mail client is not under your control.
    You can zip it (compress it) before sending it; if it's text, you should zip it anyway; if it's JPEG, zipping will not reduce the size (in fact, it's even possible it may increase it slightly), but most e-mail clients do not display what's inside a zip archive.

  • How to install DB6(DB2 for LUW) on a windows 2008 R2 failover cluster NodeB

    Hi Gurus,
    I am building a ECC6 EhP4 cluster on windows 2008 R2, I am following the installation guide chapter 7(document name: Installation guide SAP ERP6.0 EhP4 Ready SR1 ABAP on windows: IBM DB2 for Linux, Unix and Windows). But the step listed in the guide are not so clear and I have trouble for the database installation on the second node.
    What I have done is:
    1. 7.4.1 Preparing the database for MSCS step1 and 3
    2. 7.4.2 Windows Server 2008: Creating the sap services and application
    3. 7.4.3 Installing the central services Instance for ABAP (ASCS)
    4. 7.4.4 Configuring the first MSCS node
    5. 7.4.5 Installing the database instance on an mscs node(as i have done 7.4.1, i got some error in this step, then i checked some note and in note 1493410, it mentioned don't do step 7.4.1, so I uninstall the DB2, and get this step finished)
    6. 7.4.6 Configuring the database for MSCS
    7. 7.4.7 Configuring the Additional MSCS Node
    8. 7.4.8 Installing an Enqueue Replicaiton Sever
    9. 7.4.9 Installing the central instance
    10. 7.4.10 Installing the dialog instance
    Now I got problem on the database group, I cannot fail this to the second node. the DB2 Server resource cannot bring online to the second node. I think step 1, 4 and 5 may has some issue, but I don't know how should I install this database.
    note 1493410's word confusing me, below is part of that note:
    Chapter "Preparing the Database for MSCS"
    You must not apply this chapter at the beginning of the installation. Instead, start the installation process with the next chapter "Configuring the First MSCS Node"
    Follow the instructions in chapter "Preparing the Database for MSCS" in the exit step described in the chapter "Installing the Database Instance on an MSCS Node" before executing the db2mscs tool on the additional MSCS node only.
    Point "3. Install all required operating system users ..." of this chapter is obsolete.
    Anyone think my cluster still have chance to be fixed or I need rebuild it from scratch again. If I need build it again, I still don't know how to do the database installation on the second node
    BR,
    Peter

    Hi pal,
    Have you identified Ips and group  names on which your sap application and DB should run..
    I will give a overview...
    Exam ples -
    NODE A                  - 192.168.x.1
    NODE B                   - 192.168.x.2 are the one which you idetify physical systems
    1) Identify the drives you want to map for application and DB and make a partation and name the drives
    2) Initially  create Microsoft cluster service which creats cluster group----
    CLUSTER GROUP   - 192.168.x.3 - Cluster name could be any thing meaningful...
    Quorum  disk          - 192.168.x.4 - 1 Gb drive
    In point 2 if you are creating Cluster service with Heart ips you will naother ips for NODE A and NODE B ( 10.0.0.1 and 10.0.0.2)
    3) Test and validate cluster configuration and ensure no erros are reflected
    Above activities can be done with the help of OS Admin....
    Now start working with SAP installation, even before that identify 2 names and ip address for SAP installation
    Application group name can be as follows  --
    APPLPRD - 192.168.-x..5
    Database group name can be as follows -
    DBPRD - 192.168.x.6
    You when you identify above drives for file systems and groups , you can start installation as mentioned in th guide...
    Also let us know if you atrying to install EHP4  or EHP4.. as there some corrections to be followed in EHP4..
    Open a new thread if you facing futher issues...
    thanks,
    rahuk

  • I purchased bioshock 2 on the app store on my macbook pro (running lion) and it shows 'an error has occured' every time I try to download the app. How do I install it properly, I have restarted my mac and reset the app on the debug menu?

    I purchased bioshock 2 on the app store on my macbook pro (running lion) and it shows 'an error has occured' every time I try to download the app. How do I install it properly, I have restarted my mac and reset the app on the debug menu?

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select "/var/log/install.log" from the file list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Here's the short-cut solution:
    Green Apple tracks are MIDI files (so to speak). If you drag one from the loop browser (Capitol C Orchestral hit, as you mentioned in this exable) directly into the arrange page it creates the MIDI file and the instrument to play it back on.
    HOWEVER.If you create and audio track first, THEN drag the green Apple loop onto that track, the loop will get "bounced" with the reverb in tact and you'll have the exact sound that you heard in the preview.
    Make sense?

  • Firefox won't open PDF files after I removed older version of PDF-xChange Viewer and installed the lastest version of PDF-xChange Viewer. MS Explorer which I am now force to use works OK. I have checked the Applications window in Tools/Options and it l

    Firefox no longer opens PDF files. Explorer works OK. I have checked the Applications window in the Tools/Options and it says I am using PDF-xChange viewer....It just does not do anything. I get the message in the Download Error window which says...."could not be saved, because you cannot change the contents of that folder. Is the same error which I get when I attempt to open a PDF file on a webpage using the Firefox browser....Explorer works OK so I am now forced to Explorer to read PDF files via a browser.
    == This happened ==
    Every time Firefox opened
    == After removing a old copy of PDF-xChange Viewer and updating to the last version

    The error message suggests that the file (pdf) that you're trying to download cannot be saved in the folder Firefox tries to save it in.
    This can be due to several things - it could be a non-existing folder (could be a problem with the updated application), the hard drive could be too full to store the file (less likely if you can generally surf the net without error messages) or it could contain an error.
    To complicate things a little further, it seems to me that you have (at least) 3 different PDF-handling plugins in Firefox from different programs:
    PDF-XChange Viewer Netscape Gecko Plugin
    Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    Zeon PDF Plugin For Mozilla
    This shouldn't matter too much, thou, as it will most likely simply use either the latest installed or the first one it finds when looking up associations for files of type 'pdf'.
    First, in Tools > Options... > tab General > section File download, select "Save files in" and Browse your way to a (non-writeprotected!) folder on a drive where you're certain there is enough free space - like the Desktop folder to make the files end up on your Windows desktop.
    Second, under Applications as you mention yourself, find all document types related to PDF files, and set these to one of the programs. Check the entire list to be sure there isn't one hiding under one of the other programs' document types (Adobe Acrobat document, PDF X-Change and Zeon).
    Restart Firefox, and try opening a PDF again.
    If it fails once more, try changing the documents again to one of the other programs, like "Use Adobe Acrobat (in Firefox)".
    If it STILL fails, change it to simply "Save file". Then you can simply browse your way to the download folder with Windows Explorer, and doubleclick the PDF file to see which program actually handles PDF files as default on the machine, and if it works properly.
    If Firefox flatly refuses to save the PDF files in a folder which you're certain both exist and has space for the file, some (probably security related) program is most likely interfering with Firefox, preventing it in storing PDF files on the system.

  • Hi I would like to know, how do I add a Hyperlink on Flash, that opens a PDF in adobe reader and not the web browser.

    Hi I would like to know, how do I add a Hyperlink on Flash, that opens a PDF in adobe reader and not the web browser.

    Yoh, what is FSCCommanr ? sorry man I am an absolute beginner in Flash. I tried the code:
    /* Click to Go to Web Page
    Clicking on the specified symbol instance loads the URL in a new browser window.
    Instructions:
    1. Replace http://www.adobe.com with the desired URL address.
       Keep the quotation marks ("").
    instance_name_here.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
    function fl_ClickToGoToWebPage(event:MouseEvent):void {
      navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");
    this is the same code I used before and it opens a pdf file in a web browser, and it doesn't open an AutoCAD file.

Maybe you are looking for

  • How to get the value of an input text in a table

    all, i have an adf table component on my jsf page and i added an input text component to one of the table columns. how do i access the value of that input text in my backing bean? normally, i would just do a getValue(), but because the input text is

  • Upgraded 4s (iphone) can't figure out how to customize ringtone

    How can I put in my own ringtone?  I upgraded and now all I seem to be able to do is order a ringtone from itunes store, none of which I want. Can I have the ringtone I desire?

  • Information About OID

    Hi All, I find a lot of parameters and windows explorer kind of a stuff in Oracle Internet Directory with respect to MR, database, user authentication and all...Is there any link which provides extensive information about each of those parameters....

  • TableModel XML Encoding

    hi you all still got a problem with my XML Encoder I fail encoding my TableModel. I've checked I can serialize it, and serialize it well. But the XML document that is created (encoding a JPanel and everything that's in it) and thus records the table,

  • Use of "this" in bean

    hello, i would like to refer to my web app but when i use "this" in a bean, it refers to the bean, not to the app.... what must i do to have "this" refer to my app ? thx !