Need script for getting Uptime for remote servers

Hi Guys,
I'm in need of a script to get the UP time for windows servers in number of days. i have more than 1000 servers.
I dont want PowerShell script as i have many WIndows 2003 servers where PowerShell is not installed.
Please help me with this.
Thanks,
Kiran Raj

Hi,
I'd look at the LastBootUpTime property that can be found by querying Win32_OperatingSystem.
Don't retire TechNet! -
(Don't give up yet - 12,700+ strong and growing)

Similar Messages

  • How to use the same services-config for the local and remote servers.

    My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service id="amfphp-flashremoting-service"
                class="flex.messaging.services.RemotingService"
                messageTypes="flex.messaging.messages.RemotingMessage">
                <destination id="amfphp">
                    <channels>
                        <channel ref="my-amfphp"/>
                    </channels>
                    <properties>
                        <source>*</source>
                    </properties>
                </destination>
            </service>
        </services>
        <channels>
        <channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>
        </channels>
    </services-config>
    I think the problem  is the line
            <endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
    but I'm not sure how to use the same services-config for the local and remote servers.

    paul.williams wrote:
    You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
    The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
    Hi Paul,
    In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
    -services=path/to/services-config.xml
    IF
    services-config.xml
    have tokens in it and user have not specified additional
    -context-root
    and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
    Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
    for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
    -services=path/to/services-config.xml
    have been specified durring compilation.
    I dont know any better way to exmplain this, but in summary there is two places that you can tell swf  about service confogiration,
    1) pass -services=path/to/services-config.xml  parameter to compiler this way you tell swf file up front about all that good stuff,
    or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime .

  • SQLloder scripts not getting generated for CLOBs

    I am trying to migrate MYSQL 3.23 database into Oracle 8.1.7 and after creating the Oracle model and after converting the MYSQL text datatype into CLOB of the Oracle model the SQLloader scripts is not getting generated for CLOB datatypes. I mean the scripts are getting created but there is no change in the script for CLOB datatype.
    The script generates the following for the table containing CLOB datatypes:
    mysqldump -h &lt;HOST&gt; -u &lt;USERNAME&gt; -p&lt;PASSWORD&gt; -T &lt;DESTINATION_PATH&gt; fields-terminated-by="&lt;ec&gt;" lines-terminated-by="&lt;er&gt;" test av_wbt_course
    Please let me know how to load data when the datatype is of CLOB ?

    I was able to resolve this issue by using OWM Oracle Migration instead of using offline method by sqlloader scripts.

  • Do I need Hardware for getting Bluetooth for G5?

    What sort of hardware do I need to install for getting Bluetooth on my G5? Some sort of card? My HD was purchased new May 2005. Sorry if this question is in the wrong area. thanks.

    Start with http://www.apple.com/support/bluetooth/ and http://www.apple.com/bluetooth/. HTH.

  • What are the procedures for getting Apple to remotely wipe all my data off my ipad that was stolen? I have no hope of recovering it. Please advise asap...thanks!

    What are the procedures for getting Apple to wipe the data off my original ipad I bought two years ago. I had it stolen from a hotel room over the weekend and it is not password protected and no I did not download app to find it.
    Any hwlp would be greting appreciated!

    Apple can't do it, only you could potentially do it if you had enabled Find My iPad on it before it was stolen.
    If it was stolen then you should report it to the police. As a safety precaution you should also change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc.

  • Query for getting data for every quarter for financial year

    Hi,
    My problem is I need to get the data for every quarter for financial year and also I need data for every week for financial year.
    For example for financial year 2012-13, Apr2012 to Jun2012 would be Q1, Jul2012 to Sep2012 would be Q2 and so on. Total 8quarters should come upto Apr2013.
    In the same way  1st apr 2012 to 7th apr 2012 would be week1, 8th apr to 15th apr would be week2 and son on. How to write a query for this scenario in oracle. Can anybody help me on this. very urgent..
    Thanks in advance.

    lakmesri wrote:
    Hi,
    My problem is I need to get the data for every quarter for financial year and also I need data for every week for financial year.
    For example for financial year 2012-13, Apr2012 to Jun2012 would be Q1, Jul2012 to Sep2012 would be Q2 and so on. Total 8quarters should come upto Apr2013.
    In the same way  1st apr 2012 to 7th apr 2012 would be week1, 8th apr to 15th apr would be week2 and son on. How to write a query for this scenario in oracle. Can anybody help me on this. very urgent..
    Thanks in advance.
    How can you get 8 quarters within a year ? I'b be concerned here.
    lakmesri wrote:
    Hi,
    In the same way  1st apr 2012 to 7th apr 2012 would be week1, 8th apr to 15th apr would be week2 and son on. How to write a query for this scenario in oracle. Can anybody help me on this. very urgent..
    Thanks in advance.
    First, that question is really not clearly asked. Second how could it be urgent ? You even did not tell us your Oracle version, did not show any tables descr, output sample nor any effort on your side to work on.
    Nicolas.

  • Is Solution Manager mandatory for getting support for SAP 4.7?

    Hi,
    We received a letter from SAP regarding Solution Manager which stated:
    "Commencing on April 2, 2007, SAP Solution Manager will be the only source from which customers receive maintenance updates for SAP NetWeaver 2004s and beyond, as well as applications based upon it (including mySAP™ Business Suite 2005 applications)."
    We are still using SAP 4.7. We do not use Solution Manager. Does this statement mean that for getting any updates / support patches on 4.7, we will need to implement Solution Manager?
    Can anybody clarify your understanding or SAP's stand on this?
    Regards,
    Ashish

    To add to Dolores point, The link in market place...
    https://websmp206.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000689446&_SCENARIO=01100035870000000202&
    The link also contains the SAP Tutor file explaining the process. Hope it helps you.
    Br,
    Sri
    Award points for helpful answers

  • BAPI for get info for technical objects

    Hi experts!
    I need you help... I'm lookin for a FM or BAPI because I need to get info for a functional location.
    I wish this FM or BAPI exporting me all info of functional location; characteristics, equipments....
    could you help me?
    thank you
    regards

    Hi, try some of these function modules:
    AIP2_TPLNR_GETDETAIL
    FUNC_LOCATION_READ
    INSTALLED_EQMTS_ON_LOCATION
    EQUIPMENT_READ
    ALM_ME_EQUIPMENT_GETDETAIL
    AIP2_TPLNR_GETDETAIL
    Rgds
    JP

  • Need advice on getting macbook for video editing purpose!

    Hi!
    Was thinking of getting the macbook to do some video editing stuff so would appreciate valuable advices for those who have done it before. Was thinking that I will upgrade it to 2gb and a bigger hdd when i purchase it.
    Is it slow on the macbook? Anyone tried using adobe premiere or final cut pro on macbook? Heard that battery is draining very fast on macbook also? Care to share?
    Thanks.

    Hi mackie,
    In addition to 777iPod which is correct that my external DVD burner is faster than my macbook optical drive, I also use it for Dual Layer media if I need one, since my original macbook didn't come with one.
    Also I use the lightscribe etching program to etched the top surface of my dvd disk project.
    And my internal HD is 100 GB (7200 rpm), after I replaced the apple standard and my external HD is 500 GB Lacie D2 and Lacie Porsche 160 GB.
    And if I'm not mistaken, adobe already stop developing premiere on mac platform, so if I'm right, the last premiere will be for Power PC and it will struggle using it under mac intel using rosseta.
    You can use new premiere version on boot camp xp if there is none available for mac.
    And here is a nice toy to play if you haven't got one:
    http://www.contourdesign.com/shuttlepro/
    Good Luck.
    ps: I guess most poster suggest you to consider macbookpro and it is not a bad idea.

  • Need help, cannot get verification, for apple ID

    I'm trying to get an apple ID for my wife and every time I do it says ID needs to be verified, I then proceed to verify and it asks me for a visa which I don't want on the account, some times I can get past the visa part by trying to DL a free app, I then Finnish the process of making a new Apple ID and when I go to put the password in it says its invalid.
    Is there any way to get apple to reset the email address so I can start fresh.
    Any help will greatly be appreciated.

    Hi Cronzang,
    I have the same issue. I contacted AppleCare Support and they escalated the issue to an engineering team. The engineers said they have been able to replicate the issue and are currently working on a fix but with an indefinite time period for resolution. They'll let me know when the problem has been fixed, which will hopefully be soon.

  • All solutions for Getting a client Remote ip address.

    Hello experts! I want to create a unified theme for the problem of obtaining ip address of the client computer. And for Remote ip address. Since a lot of questions and answers is less.
    My problem:
    I nees get the Internet Protocol (IP) address of the client or last proxy that sent the request.
    First, the idea was to use Webutil. Function webutil_clientinfo.get_ip_address. But it is processed on the client and returns the address of the network card of the client. Right? Under this Re: webutil: get_ip_address It is not the remote address.
    Next, the proposal to use 'sys_context('USERENV','IP_ADDRESS')'. It also does not give satisfactory results. Returns the address of the computer where you installed the database.
    Next, use javaBean ClientInfo.http://forms.pjc.bean.over-blog.com/article-15985856.html - this. Again, not that. It works differently. Sometimes it returns 127.0.0.1. Sometimes it returns the address in local net (As webutil). And by the way the code for the address there looks like: "InetAddress.getLocalHost().GetHostAddress();" - Or I do not understand or he should not return the Remote address of last proxy.
    Next, "servlet" with function "reqest.getRemoteAddr()". I found many examples of code for use java-servlet. For example it
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/servlets/servletclientinfo/ReadServletClientInfo.html
    Or this
    http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-CGI-Variables.html
    I was able to program it in JPS+HTML and got what I wanted. But I have not figured out how to use the servlet in FORMS! :( And could not find a description of how to use it as well with Foms. Unfortunately I do not know very well java.
    And the final proposed solution: is a "owa_util.get_cgi_env ('REMOTE_ADDR');"
    It seems to be returning something that is necessary. But there was a problem: I wrote this in Forms. The form was compiled. But shows error "ORA-06502" when run form on brouser. I created a procedure on the server, which added a line with owa_util and call her from Forms (when run form on brouser) again and see the error. At this time "ORA-04067". This error says that there is no owa_util.
    I'm confused :)
    Help me and others to understand how to get the remote ip address please. :)
    1) If I use javaBean, then whether I understood that "InetAddress.getLocalHost().GetHostAddress();" not return the Remote address of last proxy? Or maybe there are other features that I do not know?
    Or
    2) Is it possible to use a servlet with Forms? And if so, how?
    Or
    3) How do I add owa_util? I understand that it is not. Or am I not right?
    Edited by: Ihavoker on 12.07.2010 8:33
    Edited by: Ihavoker on 14.07.2010 15:33
    Edited by: Ihavoker on 14.07.2010 15:37

    webutil_clientinfo.get_ip_address will get you the ip of the client running the forms applet
    Ihavoker wrote:
    Next, the proposal to use 'sys_context('USERENV','IP_ADDRESS')'. It also does not give satisfactory results. Returns the address of the computer where you installed the database.I don't think so:
    C:\>ipconfig
    Windows-IP-Konfiguration
            Verbindungsspezifisches DNS-Suffix:
            IP-Adresse. . . . . . . . . . . . : 192.168.240.164
            Subnetzmaske. . . . . . . . . . . : 255.255.255.0
            Standardgateway . . . . . . . . . : 192.168.240.1
    C:\>ping asterix1
    Ping asterix1 [192.168.240.4] mit 32 Bytes Daten:
    Antwort von 192.168.240.4: Bytes=32 Zeit<1ms TTL=128
    Antwort von 192.168.240.4: Bytes=32 Zeit<1ms TTL=128
    Ping-Statistik für 192.168.240.4:
        Pakete: Gesendet = 2, Empfangen = 2, Verloren = 0 (0% Verlust),
    Ca. Zeitangaben in Millisek.:
        Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
    STRG-C
    ^C
    C:\>sqlplus scott/tiger@tcp_asterix_impl
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jul 14 14:30:23 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    Session altered.
    Session altered.
    Session altered.
    Session altered.
    Session altered.
    Session altered.
    SCOTT@tcp_asterix_impl> select sys_context('USERENV','IP_ADDRESS') from dual;
    SYS_CONTEXT('USERENV','IP_ADDRESS')
    192.168.240.164As you can see I get the IP Adress of the client and in the case of forms 10g this should be the IP adress of the Forms Server.
    Ihavoker wrote:
    1) If I use javaBean, then whether I understood that "InetAddress.getLocalHost().GetHostAddress();" not return the Remote address of last proxy? Or maybe there are other features that I do not know?
    2) Is it possible to use a servlet with Forms? And if so, how?So...client? Proxy? What is it? What do you want to achieve? Do you want to get the IP of the Proxy between the Forms Server and the Client running the Forms Applet? I'm not sure what you want to achieve...
    cheers

  • Need help in getting documnets for Account payables, account receivales, GL

    Hi experts,
    I am new to BW and I am doing analysis for AP- account payable,
                                                                           AR-account receivable,
                                                                          GL-general ledger,
                                                                             WIP, WBS datsources,
    Please provide me the useful documnets so that I can get the idea on these.
    Thnaks in advance,
    vinay.

    Hello Vinay,
    For AP and AR
    http://help.sap.com/saphelp_nw70/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
    For GL
    http://help.sap.com/saphelp_nw70/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    For WBS
    http://help.sap.com/saphelp_nw70/helpdata/en/8d/1f383fe58d5900e10000000a114084/frameset.htm
    Hope that helps.
    Roy

  • NEED INFO TO GET DRIVER FOR HP PRINTER

    I HAVE A HP DESKJET D4360 AND NEED DRIVERS FOR IT TO USE ON MY HP LAPTOP?  THEY, THE DRIVERS, ARE NOT PRE-LOADED ON THE LAPTOP?.  I WENT TO THE HP/SUPPORT WEBSITE TO NO AVAIL?.  COULD SOMEONE HELP ME?
    THANKS IN ADVANCE FOR ANY HELP I RECIEVE!

    Hi,
    Make sure your printer is unplugged from your PC before installing any software.
    Select your Operating System version below, then expend the Driver - Product Installation Software category.
    Download and install the Full Feature Software, plug the USB only as prompted to do so during the installation.
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&dlc=en&lang=en&lc=en&product=3374281&
    Please let me know of any issue,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Need FM to get Calendar for a Werks

    Hi,
    I need a FM to get the Facroty Calendar related to a Plant.
    Thanks
    Salvatore

    I found this FM: CO_RB_CALENDER_ID_GET.
    It works correctly and very easy to use.
    Salvatore

  • Reason for getting USB_STALL_ERROR for an Ipod command in Windows CE system

    We are getting USBSTALLERROR while sending the iPod command in the Apple Accessory Protocol format using the Function as shown below in a Windows CE System.
    USBDEVICEREQUEST ControlHeader;
    ControlHeader.bmRequestType =
    USBREQUEST_HOST_TODEVICE | USBREQUESTCLASS;
    ControlHeader.bRequest = 0;
    ControlHeader.wValue = 0;
    ControlHeader.wIndex = 0;
    ControlHeader.wLength = (USHORT)(*pdwInBufLen);
    Handle = (piPodContext->lpUsbFuncs->lpIssueVendorTransfer)(
    piPodContext->hUSBDevice,
    NULL,
    NULL,
    USBOUTTRANSFER,
    &ControlHeader,
    pbInBuf,
    (ULONG)0);
    For eg: Data in the pbInBuff is FF 55 03 00 01 04 F8 and value of ControlHeader.wLength is 7
    This command is for mode switch to Air Mode.
    IPod on which we tested is a 3rd Generation iPod Nano (Vendor ID - 0x05AC, Product ID - 0x1262)
    Is there something we are missing here?

    Check all the pre-requisites for creating in an existing database

Maybe you are looking for

  • Looking for a PDF Parts Manual/Guide for Laptop

    Hello everyone, I'm new here and need some direction and information.  I have a HP2000 Notebook PC, Product #QE345UA#ABA and would like to find the PDF  manual for my system.  I think I'm having a problem finding the section on the HP site for docume

  • Using temporary tables in stored procedures

    Suppose that I have created a temporary table in a stored procedure using an "EXECUTE IMMEDIATE" statement. When I compile the procedure, that table is not created yet, so the compiler says that the table does not exist. What is the way of using temp

  • STARTING NEW TASK

    can ny 1 give me a simple example as to WHY call function STARTING NEW TASK is used ??? i need a very very simple example to demonstrate the concept

  • Is it possible to use an Airport Extreme router with AT&T 2Wire modem/router?

    My AT&T 2Wire modem/router does not have great range, speed, or compatibility with my Macbook and iMac.  I bought an Apple Airport Extreme to try to remedy my problem, however, I did not realize it was purely a router.  Is it possible to use the 2Wir

  • How to make glitching letters like these:

    Hello, recently i've decided to make an intro for my youtube channel and i'd like to something like he first 10 seconds of Knife Party's 'Bonfire'*(link in the end). I am a newcommer to After effects and i'm using after effects CS4. could someone do