Options to monitor a PC without using SCOM?

How can I monitor a scheduled job on a PC without using SCOM. We have a request to monitor some scheduled jobs on some PCs, but we don't want to use SCOM to monitor individual PCs.
Can I use PowerShell or anything else to accomplish this task?
Thanks.
 

You may use following vbscript
set Service =CreateObject("schedule.service")
'computer1 is the computer name which you want to monitor schedule job an without scom agent
computername="computer1"
call Service.Connect(computername)
dim rootFolder
set rootFolder = Service.GetFolder("\")
dim taskCollection
set taskCollection = rootFolder.getTasks(0)
dim result
dim TaskName
result="OK"
TaskName=""
if taskCollection.count > 0 then
     dim registeredTask
         for each registeredTask in taskCollection
              if registeredTask.LastTaskResult = 1 then
                   result="NOT OK"
                  TaskName = TaskName  &  registeredTask.Name & ", "
              end if
          next
end if
if result="OK" then
   msgbox "All schedule task in " & computername & " run successfully"
else
   msgbox "The following tasks run unsuccessful in computer " &  computername & vblf & left(TaskName, len(taskName)-1)
end if
Roger

Similar Messages

  • If we dont want to use sleep/wakeup button for dissconnect the call so there is any other option for dissconnect the call without using sleep/wakeup button in ios 8.1.3. kindly suggest

    if we dont want to use sleep/wakeup button for dissconnect the call so there is any other option for dissconnect the call without using sleep/wakeup button in ios 8.1.3 . kindly suggest..!

    Hello kumar kalptaru, 
    Thank you for participating in the Apple Support Communities. 
    It sounds like you're wondering how to hang up a call besides using the Sleep/Wake button. 
    Other than this, you can tap the red hang up button on the Phone app. See the iPhone User Guide for more help:
    While on a call - iPhone
    End a call. Tap  or press the Sleep/Wake button.
    Best Regards,
    Jeremy 

  • Is therere an option to create apple id without using a credit card?

    is therere an option to create apple id without using a credit card?

    http://support.apple.com/kb/HT2534

  • How to monitor self signed certificates using scom 2007 R2

    How to monitor self signed certificates using scom 2007 R2.  i need to monitor specifically self signed certificates expiration. if  possible in two state monitor...please suggest me the best way..
    B John

    Hi,
    Based on my understanding, that you want to create a monitor to monitor certificate expiration, with two state, when the certificate is about expiration for 21 days,, send warning, when the certificate is about expiration for 10 days, then send
    alert. I think we need to create scripts to do so, hope the below links can be helpful:
    Monitoring Certificates In SCOM
    http://blogs.technet.com/b/omx/archive/2013/01/30/monitoring-certificates-in-scom.aspx
    Monitoring Expiring Certificates using SCOM
    http://blogs.technet.com/b/sgopi/archive/2012/05/18/monitoring-expiring-certificates-using-scom.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • Is there a way of monitoring SCSM connector failures using SCOM

    I have an environment comprising SCSM2012 SP1, SCOM2012 SP1 and SCCM2012SP1 with Orchestrator forwarding the CI data and alerts to a 3rd party CMDB/ServiceDesk system. We have SCSM connectors for AD, SCCM and SCOM CI. There was a recent issue with SCSM UR6
    where the SCCM connector stopped working. I regressed the Microsoft.EnterpriseManagement.ServiceManager.Linking.Consumer.OperationalStore.dll back to the RTM release version and it all works again.
    I want to know if there is a way of monitoring each of the connectors in SCOM to ensure I get alerted if the status of the 3 connectors is anything other than "Finished Success" - maybe only generating an alert if the status stays in a failed status
    for more than 24 hours.
    There appears to be very little documentation on how these connectors work or what errors they write into logs. Any tricks or tips would be appreciated.

    On you management server, if you open Event Viewer, the logs are keep under Application and Services Logs Operations Manager. (Yes, the Service Manager logs are keep in the Operations Manager logs folder) In this folder you should find the event logs for
    your connectors. Just search for different sources to find the connector you want to monitor. Some of the sources include Exchange Connector, OpsMgr Connector, Data Connectors (AD connector), System Center Orchestrator, and Lfx Service (SCCM
    Connector). You could easily setup SCOM or Orchestrator to monitor these logs. 
    Matthew Dowst |
    Blog | Twitter

  • Monitoring MSMQ (Private Queues) using SCOM

    Hi
    How do I   monitor Error messages on Private Queue (MSMQ)?  I like to have a notification whenever message goes to Error Queue. I have SCOM 2012 SP1 environment. (Windows 2008 R2 SP1)
    I already imported MSMQ MPs 
    to SCOM.
    Thanks
    Anu

    Hi,
    check if there is any monitor in MSMQ MP for the same. if not you can take any of below monitoring solution.
    1) check if there is any event logged if message go to error queue and configure monitoring for the respective event id. refer below link how to configure event id monitor.
    http://opsmgradmin.blogspot.in/2011/05/scom-monitoring-windows-event-logs.html
    2) check if there is any counter message go to error queue on server if yes configure performance counter monitor.
    http://technet.microsoft.com/en-us/library/bb309655.aspx
    3) if both fail you can develop an script base monitor for the same.
    http://blogs.technet.com/b/brianwren/archive/2009/06/04/powershell-scripts-in-a-management-pack-part-2.aspx
    Regards
    sridhar v

  • Options for monitoring health of SCSM 2012 SP1 using SCOM 2012 SP1

    Hi,
    I've done some research on how to monitor SCSM using SCOM (version 2012 SP1 for both) and found two options:
    Option 1 - Agent-based monitoring. With SCSM2012 SP1, it looks as though the agent is
    already present (for upgrades and also for fresh installs). So it follows that SCOM will be able to monitor the health of SCSM.
    Option 2 - Agentless monitoring. On the Technet
    download page, 'System Requirements' section indicates compatibility with SCOM 2012 and above, and SCSM 2012 and above. Details tab says the following (emphasis mine):
    This System Center Management Pack for System Center 2012 - Service Manager should be used to monitor
    System Center 2012 - Service Manager, System Center 2012 R2 - Service Manager
    and includes monitors for the management server as well as the Data Warehouse server. In this release of the management pack, the Data Access Service, Health Service, Configuration Service, and workflows are monitored.
    So it looks like both options are viable, but I'd be interested in hearing other people's experiences of using one vs. the other. Is there any major difference in the information that's provided by agentless vs. agent-based monitoring, or are they just two
    different ways of pulling the exact same information into SCOM?
    Edit: Just occurred to me that SP1 isn't explicitly mentioned in the Technet article linked above under option 2. Has anyone successfully used agentless monitoring on SP1?

    Hi,
    Here is a related blog for your reference.
    SCSM 2012 SP1 (Beta) – Monitoring Management Servers with SCOM 2012
    http://marcelzehner.ch/2012/09/29/scsm-2012-sp1-beta-monitoring-management-servers-with-scom-2012/
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Is it possible to use SCOM without an Opertaional database?

    Is it possible to use SCOM without an Opertaional database? (and without the data warehouse).

    Hi,
    No, it is not possible, you must at least have the Operational Database. But please check Microsoft Monitoring Agent, is that what you are looking for?
    Monitoring with Microsoft Monitoring Agent
    http://technet.microsoft.com/en-us/library/dn465153.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to use SCOM 2012 R2 Monitoring the standalone Windows Server

    Greetings,
    I want to use SCOM 2012 R2 to monitoring the standalone Windows Server that does not joined the domain. would you please guide me how to configure it.
    Thanks
    Frank@Hiweb 冯立超@瀚博资讯

    I found the answer, as following:
    http://pkjayan.wordpress.com/2010/05/17/agent-managed-non-trusted-servers-without-gateway/
    and
    http://blogs.technet.com/b/stefan_stranger/archive/2012/04/17/monitoring-non-domain-members-with-om-2012.aspx
    Frank@Hiweb 冯立超@瀚博资讯

  • Xml report output in excel format without using options tab in EBS

    How to get xml publisher report output in excel format without using options tab in EBS?
    I am getting XML Publisher report output in excel format by using options tab while submitting the concurrent request .
    But i want to get excel output automatically.
    Can anyone give idea to get XML publisher Report output in excel without selecting options tab.
    Thanks in advance
    Sandeep V

    Hey Sandeep,
    I am working on a similar format for a report and if possible can you please give me some guidelines. I have initially created reports using XML Publisher, but for those , the output preview format was PDF. So, if I select the preview format as EXCEL will it give me output in Excel and for this to happen, how do I define the rtf template. I believe the working will be same as for PDF, create a rdf report, get output in XML and apply the template to get the data in Excel or there is something different to this.
    Thanks,
    Sunil

  • I want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone

    i want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone!

    Download AirPlayer for Mac - Transforms your Mac into an AirPlay-compatible display. MacUpdate.com

  • I have an Apple Powerbook G4, and my monitor doesn't function. I have an external display Monitor, however it's stuck in extended screen mode. How do I get it to mirror or duplicate the display without use of the on-board?

    As i had said, I have an Apple Powerbook G4, and my monitor doesn't function. I have an external display Monitor, however it's stuck in extended screen mode. How do I get it to mirror or duplicate the display without use of the on-board? Is there a Fn key combo i'm missing or is the issue more serious then i realize? any and all help and hints would be greatly apprichiated, thanks in advance.
    -Powerbook User

    The PowerBooks have an F-key that toggles mirrored and extended mode. My PB is loaned out right now but I think it was f7. The keycap has an icon on two overlapping rectangles, as I recall.
    EDIT: Yes! Found a pdf of the PB manual it shows F7 is the toggle:

  • Hi i am Padmanabhan. Recently my cousin gifted me an ipad. when i start creating and apple id it suddenly asks me for my credit card number. i dont have any credit cards. is there any option that i can create an id without using credit cards.

    i am unable to create a itunes since i dont have a credit card. is ther any options to register in itunes without having a credit card? pls help. am unable to install any app

    hey thanks lizdance40 and dilbert41. thanks for your concern and this really helped me using the appstore.. thanks a lot cheers!!

  • Saving a Text data to a PDF file without using print option

    Hi,
    I want to save a Text to a PDF file. I want to assign the path of the PDF file as a default one.
    If I use Print options, then it ask for the file path at the run time.
    Is there any method to save to a PDF file without using print option in Labview 8.2.
    Regards,
    Raja

    This question comes up a lot. Did you try searching? It depends on the PDF printer driver that you're using. See here, here, here, ...

  • How to transfer photo's from LR to Blurb without using the Book option in LR?

    Without using the Book option in LR can one transfer photo's to Blurb?

    There is no way like with Aperture where you can drag your photo from Aperture to Blurb?

Maybe you are looking for

  • Encoding error when burning mp4 videos to dvd-rw using idvd

    hi all, i'm trying to burn mp4 videos on a blank dvd. i used the magicdvd option in idvd 08 but the error message of "encoding error" had appeared before it burned the videos to the dvd. could you please let me know if mp4 is not supported by idvd? i

  • Is It a Dead Drive?

    Hi. I've made a lot of research about this problem before I post this. I found a lot of posts having a similar issue, but all the posts didn't have a resolving answer. I'm hoping that this one will. I have a mac pro (10.8.2) with 3 SATA drives in it.

  • No audio track with AVCHD files (shot on Panasonic HMC-70)

    I've read quite a few treads and cannot figure this out.  I have a standalone version of Premiere CC 7.0.0 (342) installed in my computer lab at school. I tested the software with a creative cloud trial and AVCHD files worked fine.  This version does

  • How can i restore safari web browser on my mac book pro?

    how can i restore safari web browser on my mac book pro?

  • Javascript for redirect - receipt page

    I was on support with BC and they asked me to post this to see if someone could find something missing in the code. I found this script on a BC forum page and added it to my RECEIPT PAGE so that the site will redirect after a purchase to the original