Pass Server Info and find service existed or not

Hi All,
        I have written batch code which is running fine to find weather service is existed or not.But I want to pass parameter which holds server name and find weather the service is existed or not .Can any one help me how can i do it
@echo off
net start | find "SQL Server Analysis Services (MSSQLSERVER)" > nul 2>&1
if %ERRORLEVEL%==0 echo "MS SQLServer Analysis Service running"
if %ERRORLEVEL%==1 echo "MS SQLServer Analysis Service not running"
Pause
Samar

I would highly recommend that you start to learn PowerShell, instead of trying to work with batch files at this point.  It's the future of command-line functionality in Microsoft products, and it's going to be harder and harder to find tools that enable
you to perform the same tasks on the old command prompt.
For this specific question, though, all that's missing from JRV's example is the /node:"ComputerName" parameter to wmic.exe.

Similar Messages

  • I have an "Untitled" test service that no longer exists in Library/Services/ but still loads in the context menu and finder services menu.  How do I get rid of it?

    I created an "Untitled" test service, then deleted it.  It no longer exists in Library/Services/ but still loads in the context menu and finder services menu.  Reboots do not change the behavior.  How do I get rid of it?

    ... and mysteriously, it's gone again.  Multiple reboots across the day between then and now, plus a few hibernations as I moved about.  It's as if Finder cached the [deleted!] workflow file and continued to operate off of the cache for an indeterminate time....

  • How to find the Values of SAP Gateway Server Host  and Gateway Service Valu

    Hi All,
    I installed SAPR/3 4.7 EE on Windows. For configuring SLD and LDAP i am unable to give the SAP Gateway Server Host and Gateway Service values.
    Can any one plz suggest me how to find these values.
    Regds
    Phanikumar

    Hello, SAP Gateway Server Host and Gateway Service are used to set up rfc connectivity, that is the host name and the system number where your sld and ldap is responding, if you have no sld and no ldap , just simply uncheck that options while installing.
    Have a nice week end, Luciano.

  • Oracle Application server Forms and Report services 10.1.2.0.2 on Windows 2

    Hi,
    I am installing the Oracle Application server Forms and Report services 10.1.2.0.2 on Windows 2003 R2, but the problem is that setup is not running on this Windows 2003 R2 version.
    Any idea about this why it is not running.
    Regards,
    Iftikhar

    You asked this
    How can i find what is the latest version that i can upgrade this install to
    I told you where to find the last update, I checked that version yesterday, the last update is 10.1.2.3, my misstake was to put a 0 before the 3.
    You can go to Patches & update>Quick Links to: Latest Patchsets, Mini Packs and Maintenance Packs>Oracle Fussion Middle Ware> Look for you OS versión and CPU> No clic just put pointer over the links and you will see the last one.
    And finaly could look for the CPU of Jul and Apr that as requirement they ask for version 10.1.2.3 (as I say I checked yesterday)
    Greetings.

  • Is it possible to locate iPad 4G+WiFi location if the services iCloud and Find My iPhone have not been configured.

    Hello! My IPAD 4G   Wi Fi was stolen in Kiev, 17.05.2011. Is it possible to locate its location if the services iCloud and Find My iPhone have not been configured.
    If it is possible what should I do to find it?
    I have already applied to the police. But I also heard that if you contact the company Apple, they can quickly find the iPad police. Is this true?

    No.
    Change your iTunes (Apple ID) password along with any other password that was stored in the iPod.  If any passwords are associated with credit cards, contact the CC company and get your card replaced (with a new number).  If any passwords are associated with a bank or any other savings institution, contact them also and discuss approprate action with them.
    The "Find my..." function is pretty much useless if the device is in the hands of a thief.  All that is necessary is for the thief to connect to any computer with iTunes and "Restore as new."
    The only real protection you have is with the personal information on the device rather than the physical device itself.  This requires action before the device is lost/stolen.  If the device has significant personal information, it should have a strong 8-digit (or longer) password AND be configured for automatic wipe in the event of ten consecutive incorrect password entries.

  • Find: /dev/fd/3: Not a directory and find: /dev/fd/4: Not a directory

    hi everyone, my problem is that my computer technician installed iwork on my imac and i do not know if its pirate or original and when i type this (sudo find / -iname "iworkserv*" -print) in the terminal to see if i have a trojan or not, find: /dev/fd/3: Not a directory and find: /dev/fd/4: Not a directory, comes up. i have downloaded the trojan removal program from securemac and it cant find any trojan. i have also donwloaded couple of antivirus programs to check and still it says clean. i have also asked my computer technician he says that the iwork was original but i dont trust him. so can anyone tell my why the two lines are showing up and what do i need to do?

    The error messages from the find command are normal.
    As for what you should do, the answer is simple, in my opinion. If you don't trust the technician, which you obviously don't, and you care about the security of your Mac, which you obviously do, then your only choice is to back up your user data, erase the hard drive, and reinstall the OS and all your other software from known-good copies that you downloaded yourself. Scanning for malware is a waste of time.
    You should also assume that this technician has read all of your files that were present at the time, including such things as banking passwords.

  • I lost my iphone 6 and find my iphone did not work , how can find it ?

    I lost my iphone 6 and find my iphone did not work , how can find it ?

    How "did it not work"?
    Did you have it enabled?
    When you use FindMyiPhone, what does it show under Devices?

  • I have recently upgraded my mac and ipad to IOS7 and find that Safari will not load onto my iPad. It just shuts down the app. Any ideas? I have been onto Mac who took me through a very long iPad robot, but the problem is still the same! Help appreciated

    I have recently upgraded my mac and ipad to IOS7 and find that Safari will not load onto my iPad. It just shuts down the app. Any ideas? I have been onto Mac who took me through a very long iPad robot, but the problem is still the same! Help appreciated

    Do you mean that you did a soft-reset ?
    Try clearing Safari's cache : Settings > Safari > Clear Cookies And Data and also Clear History
    If that doesn't fix it then try closing Safari via the iPad's multitaskingbar and see if it works when you re-open it :double-click the home button to open the taskbar and then swipe or drag the Safari app's 'screen' up and off the top of the screen to close it, and click the home button to close the taskbar.
    After trying the above you could also do a soft-reset (even if this is what you've already done it might be worth trying after clearing Safari's cache and closing the app via the taskbar) : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Mavericks Server Calendar and Contacts  services won't start.

    Recently the calendar and contacts services stopped working.  Client computers started getting errors like this:
    "The server responded with an error https://[some UID and a lot of other info]... is not a location that supports this request."
    It was suggested by Apple tech support to do a free install/rebuild, but that's not really an option simply because of the wiki.  I've previously spent months trying to migrate wikis from Mountain Lion Server to Mavericks server; never coming across a working solution and ending up having to copy/paste every page from the old server to the new server.  Apple had no working solution for migration wikis and instead suggested a reference to a Krypted site URL (which also didn't work).
    Other services are working just fine, but here are the symptoms we're experiencing:
    Calendar service has reported a code 0 at one point, but did not continue the error
    Calendar service has reported a code -1 at one point, but did not continue the error
    Calendar service in can be toggled on, but the service never starts and stays offline even though the toggle switch is "on".
    Calendar service full status in Terminal.app is stuck in starting
    Calendar and Contacts services seem to take a while to load the status pane in Server.app
    Client computers get repeated, non-stop, connection error dialogue boxes in Calendar.app
    Occasionally when I try to see the Contacts service status by select it, I get "A networking error occurred while trying to communicate with the server" - this is using Server.app on the server itself, not from a client computer.
    It seems the two primary problems are starting the services and therefore connecting to them.  Other services such as wiki and filesharing are working fine.
    Any ideas folks?
    BTW - my Time Machine backup did nothing to help the situation.

    Logs?

  • Calling Reports from a Form - Application Server Forms and Reports Services

    Hi
    We currently are running App Server 10G Forms and Reports and Oracle DB 11G. Forms are running fine with the Apps Server but what I need to find out is how do I set the path for the .rdf files of the reports and how do I configure the Apps Server to present the Reports? I am sure we have to edit a .conf file and add the server name but not sure what to do or how to do it?
    ps. I am a newb but I managed to get both of Apps Server and Database configured on my lonesome so I am just missing the info on the Reports side of things.
    The Developer has asked the following questions :-
    We want to run a report created in report builder from forms by using the following command in forms;
    web.show_document(v_url,'_blank');
    what does v_url need to be - we need to find an example showing the v_web_address and v_rpt_server
    v_url := 'http://'||v_web_address||'/reports/rwservlet?server='||v_rpt_server||'+report=test_report.rdf &desformat=PDF&userid=user/pw@database'
    Do we need to make changes on the report server configuration and where should the rdf files reside?
    Regards

    Hiya
    Thanks for the message.
    I have started to look at the response you sent me. I have included an output of the rwservlet.properties file and the rep_s-lon-w-001_frhome1 file.
    rwservlet.properties
    SERVER_IN_PROCESS=YES
    RELOAD_KEYMAP=NO
    #DIAGNOSTIC=YES
    #TRACEOPTS=TRACE_ALL
    #TRACEFILE=rwservlet.trc
    #TRACEMODE=TRACE_REPLACE
    #SERVER=<reports_server_name>
    #IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
    #KEYMAPFILE=CGICMD.DAT
    #DBAUTH=RWDBAUTH.HTM
    #SYSAUTH=RWSYSAUTH.HTM
    #ERRORTEMPLATE=RWERROR.HTM
    #COOKIEEXPIRE=30
    #ENCRYPTIONKEY=reports9i
    #DIAGBODYTAGS=<reports_servlet_help_file_title>
    #DIAGHEADTAGS=<reports_servlet_help_file_body_tag>
    #HELPURL=<url_of_customized_help_file_for_reports_servlet>
    #SINGLESIGNON=YES
    OID_ENTITY=%REPORTS_OID_ENTITY%
    #ALLOWHTMLTAGS=NO
    #REPORTS_NETWORK_CONFIG=rwnetwork.conf
    #OIDCON_INIT=10
    #OIDCON_INCREMENT=10
    #OIDCON_TIMEOUT=0
    SERVER=rep_s-lon-w-001_FRHome1
    rep_s-lon-w-001_frhome1
    <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    <!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:C:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">
    <server version="10.1.2.0.2">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    <!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value=c:\reports/-->
    <!--property name="tempDir" value=c:\reports_temp/-->
    <!--property name="keepConnection" value="yes"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000"/>
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    <property name="oidEntity" value="%REPORTS_OID_ENTITY%"/>
    </security-->
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </destination-->
    <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <!-- By default server will use rwnetwork.conf as network config file
    Use this element to override the same -->
    <!--networkConfig file="rwnetwork.conf"></networkConfig-->
    <job jobType="report" engineId="rwEng"/>
    <job jobType="rwurl" engineId="rwURLEng"/>
    <notification id="mailNotify" class="oracle.reports.server.MailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </notification-->
    <log option="noJob"/>
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
    </jobStatusRepository-->
    <!--trace traceOpts="trace_all"/-->
    <connection maxConnect="20" idleTimeOut="15">
    <orbClient id="RWClient" publicKeyFile="clientpub.key"/>
    </connection>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <!--
    The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
    SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
    file should match for Reports EM pages to display data correctly.
    Corresponding entries of username and password in targets.xml:
    <Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
    <Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
    -->
    <identifier confidential="yes" encrypted="yes">ZgZCDkywAUaHwMnb+A6YTg0UVX12puJiKZe8PYR1NHiooqnkbstGLcLqn5sWJCnWjREALf9UVz0N/P7HpgkTrPTCwgYirXmx1oZKCWkodsu06FNAJJ8ioXQCBWAG+SeHElcR5At9pTaiZZjXv8MtUP6cEUcH//E5eI4JnO/PLfS0u0OmElFdQn9lsDYF/ETYcK7QVswlN0LAE0yUqCC7bI+mVhhSkW80XXnh5oPISEiMwb+KcNW2T2zz+m1KLJAQFDk0S3cCIMaj6NBF7yXmoJOoGRNmfQBk8HHfx7Z6+l//BZP/hswX5NojatpWa46uDU8HNtNfcLSKxSUHH64g/FaEqzoXIXbIVWuGVwUA4gRUulJ0Ew0HVtyXC5wsnUW5zD0HnUFYoKXeNssDrT6HapRoEwSYE3n2ogux3vOefUXkPy5hsPCc9I3R5tmdljjuUGxmF1QXckIv12aMw0+JGIyevbv7X33vhJc=</identifier>
    <!--pluginParam name="mailServer">%MAILSERVER_NAME%</pluginParam-->
    <!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
    <pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
    <pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
    <pluginParam name="textpds" type="file">textpds.conf</pluginParam>
    </server>
    If our Apps server is s-lon-w-001.homes.local, where do I make the changes in these two files to make the reports to run. You can see I have defined the reports on the C: on the server.
    Many thanks in advance!

  • Report server 6i and Report services 10g

    what is the extra features in Report Services 10g which are not available in Report server 6i.
    why would we use AS report services 10g rather then report server 6i,and our only requirment is to run oracle report on web which can fulfill with the help of reports server 6i.

    There is a long list of new features and I cant put all of them here
    You can see docs below
    For running on Web 9i, 10g moves to Servlet based architecture (though old cgi mode is available for backward compatibility). Reports behaves as a component in IAS and can be monitored and managed through Oracle Enterprise Manager (OEM).
    More details here
    http://www.oracle.com/technology/products/reports/index.html
    and here is the 10g datasheet
    http://www.oracle.com/technology/products/reports/10g/DATASHEET.HTM
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • BI Server group and Presentation Services group

    Hi Experts,
    I've created a BI Server group and a Presentation Services group - both named 'Reporting Superuser'.
    Next I've created a user (User_1) in the BI Administration tool and added the user to 'Reporting Superuser'.
    The Presentation Services group 'Reporting Superuser' has full control on the right folders and the corresponding dashboards.
    I haven't added User_1 to the Presentation Services group 'Reporting Superuser'. According to the documentation that shouldn't be necessary.
    Unfortunately when I log in using User_1, I don't see any of the dashboards User_1 should have access to through the group membership.
    Is there anything I might have missed?
    OBIEE Version 10.1.3.4.1.090414.1900
    Thanks for your help
    Regards
    Andy

    First check whether user is assigned with that particular group after logging in..
    log in to presentation service with that user and go to my account.. and check for following:
    Group Membership
    This list shows the groups to which you belong.
    Group1
    Group2
    check whether that user belonged group is there in that list or not...

  • Application Server : Forms and Reports Services

    Hello
    Currently I have a three tier architecture in production for a client, running an forms and reports applications called HREF
    1. client browser with Jinitiatior,webutil running 10g forms and reports app,
    2. a 10g OAS with forms and report services and infrastructure components installed
    3. a 10g Enterprise Edition Database Server running a 16gb db.
    There is a new dev environment to be made on a much smaller scale with the same HREF application but it will only be about 2GB of data at the back end.It has to be much more cost effective, so I am looking at both reducing license costs and scale throughout.
    So could I use........
    1. The same client browser with Jinitiatior,webuti running 10g forms and reports app, -- running fmx and rdf can that be free?
    2. Do I need a separate appliaction server install ? -- is OAS necessary , what is the most cost effective option (just install forms and reports services?)
    3. Can I use Oracle Express Edition 10g -- free to use
    Thanks for any help.

    For development you don't need to pay license fees, so you could use Oracle Enterprise Edition as well.
    Have a look at the OTN License agreement e.g. here:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    We grant you a nonexclusive, nontransferable limited license to use the programs only for the purpose of developing, testing, prototyping and demonstrating your application, and not for any other purpose. If you use the application you develop under this license for any internal data processing or for any commercial or production purposes, or you want to use the programs for any purpose other than as permitted under this agreement, you must obtain a production release version of the program by contacting us or an Oracle reseller to obtain the appropriate license. You acknowledge that we may not produce a production release version of the program and any development efforts undertaken by you are at your own risk. We may audit your use of the programs. Program documentation, if available, may accessed online at http://www.oracle.com/technetwork/indexes/documentation/index.html.
    Install Forms & Reports and the Database on Oracle Enterprise Linux and you won't even have to pay licenses for your OS.
    cheers

  • Mac mail auto populates server info and...

    Once I go back and edit the server info, still getting error sending email. Can pull fine, just error when sending.
    Yes, I have tripple checked all mail settings online and with tech support, they are correct.  iMac is working just fine.  MacBook is the issue, and I had to use my password for the wireless network so I'm on my network.
    COX network
    Any ideas?

    The Exchange server's autodiscover feature is probably the culprit.  Maybe try editing the hosts file or using Little Snitch to block access to the autodiscover URL.

  • Upgrade from 12.1.1 to 12.1.3 now Find Service Request does not work.

    I recently upgraded our Test machine from 12.1.1 to 12.1.3 (RHEL 4.8). After performing the install and applying appropriate patches and most recent CPU when I attempt to 'Find Service Request' I can search by number, choose the correct SR I want in the form and click open. However when the SR form opens it just defaults to a new SR instead of the one returned in the search results. I have generated all form files again and that did not change anything. I have searched and not come across anything that appears to be applicable. Anyone have any ideas?
    Thanks

    I am logged in as myself and using the 'Service' responsibility.
    Service -> Service Requests -> Find Service Requests
    versions:
    CSXSRISR 120.208.12010000.84
    I do the search and I find it, however when it goes to open the result the sr form is as it is new.
    Oddly enough if I go under sysadmin and use the same responsibility, same path and search the sr will open the returned result.
    As sysadmin however it has a different layout in the 'folder' at the top of the screen. Could this be causing the difference or should that matter?
    Thanks

Maybe you are looking for