VM deployment fails - blocked job using WAP deployment

I am new so sorry if I am missing something very obvious.
I am testing WAP and SCVMM 2012 R2. I created a public plan and deployed VMs. The last VM did not deploy successfully. I am assuming it was because for a time frame the VMM Library was not accessible (RPC failure). The VM deployment stayed at 75% (customizing
VM) and after 2 hours at the same Level i canceled the Job. (For Information: by then the VMM Library was available again).
I started a new Job but all new Jobs using the same WAP plan and VM template receive error 2606 "unable to perform the Job because one or more of the selected objects are locked by another Job". Now I am assuming the error is the previously cancled
Job but I am not sure.
As shown in KB 2795040 I tried to see the blocking Job. Problem is TaskID. I don't have it. I checked on the Jobs view in SCVMM but it doesn't Show a Task ID for the Job I canceled. I looked in the VirtualMachine Manager DB table for Task trails to find
which Jobs failed in order to find the Task ID. But at the time I canceled the Job I didn't find any corresponding Jobs. I looked at the time stamp when the VM deployment started but the Task ID I found there was not present in the tbl_VMM_Lock.
How do I find the corresponding TaskID to the Job that is blocking the deployment Jobs?

I was just able to get it working on mine on a VMMR2 Cluster (hyper-v on 2012 and 2012 R2 hosts with the same success) and the Service Template using a VM template with Server 2008R2 Enterprise.  I don't know if you did the same steps but:
created a fresh VM in VMM - install Virtual Guest Services.
convert that VM to a VM Template - VMM then copies the VM files to a location on your VMM Library.
create Service template using the new VM template - with no services.
I've had problems in the past with trying to convert a VM to a template, and the VM would fail at the 'Fix up differencing disks' ..  It wasn't until I did a fresh install instead of trying to convert a VM copy of a copy of a copy of a V2V migration.. 
Mine completes successfully but with an error couldn't install Virtual Guest Services when they are already installed.  hmmm..  The VM/Service is running fine however.
---------------------------- Error I got -------------------------------
Error (13233)
Unable to install Virtual Guest Services on virtual machine TEST_SERVICE. The Hyper-V Integration Services setup exited with error code 60001.
Recommended Action
For more information, refer to the Hyper-V documentation for virtual machine integration services at
http://go.microsoft.com/fwlink/?LinkId=118036 and then try the operation again.

Similar Messages

  • Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program

    Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program

    Sorry I can't get the screen print to upload
    It says
    Mandatory Update Available
    A Mandatory version of this application is available for download. Application can't continue without installing this version.
    Application:     Acrobat_com
    Installed version: 2.0.0.0
    Update Version : 2.3.0.0
    Download now                    Quit
    Release notes ( this is blank)
    After selecting 'Download Now' I get the following message;
         Download failed
         There was an error downloading the update. Error #16820
         Close

  • How to create a Pooled VDI infrastructure using Win server 2012 as VM image?I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM

    I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM instead.
    Am I overlooking something?  Should I need to prepare the image in a different way? (Sysprep differently?)
    Thanks

    Hi,
    Thank you for your posting in Windows Server Forum.
    Can you specify the error which you are facing during VDI setup for server 2012?
    I might think that you need to check the memory setting for server 2012, as might happens that due to less memory you can’t setup the VDI setup properly. 
    Memory: If the Master VM is configured with static memory, it must have at least 1024 MB as startup RAM. If the Master VM is configured with dynamic memory, the maximum RAM must be at least 1024 MB.
    Please check beneath article for information.
    Windows
    Server 2012 2,500-user pooled VDI deployment guide (Doc)
    Single Image Management for Virtual Desktop Collections in Windows Server 2012
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Schedule a job using dbms_job package

    SQL to schedule a job using DBMS_JOB.
    variable jobno number;
    variable status number;
    begin
    dbms_job.submit(:jobno, 'x(:status);', trunc(sysdate)+8/24,
    'trunc(sysdate)+1+8/24', null);
    commit;
    end;
    It fails and returns the following error ...
    ORA-01008: not all variables bound
    Is it possible to schedule a job to run a procedure with "IN OUT" parameter? I would appreciate any assistance.
    Proc runs if I execute it from command mode and there are no issues.

    You cannot pass parameters back from a job-- Oracle spawns a separate session to run your job, so that session would receive any OUT parameters and end immediately after the job finishes. Even if Oracle let you do this, you would lose the OUT value as soon as the job ended.
    If you want a job to return a status, you can-
    1) Store the status in a table
    2) Queue a status message in an Oracle Advanced Queue
    3) Use dbms_alert to alert another process
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Function module to start failed batch job

    Hi all,
    Any function module in ABAP to start the failed batch job run which i will use in a report.
    I am using SAP 4.7.
    Thanks
    Raj

    Hi Minish,
    Normally, we can call an RFC in background task as below:
    CALL FUNCTION func IN BACKGROUND TASK
                         [DESTINATION dest]
                         parameter_list
                         [AS SEPARATE UNIT].
    But I am not sure whether your external application can call this RFC in background. But you can create an another RFC and inside call this RFC in background.
    Then call the new RFC so that it will internally call the required RFC in background and Immediately after it will be closed.
    Regards,
    Selva K.

  • How to reprocess failed monitor jobs in Import ABAP phase of system copy

    Hi Experts,
    Can you please let me know how to reprocess the failed monitor jobs during Import ABAP phase as i am performing the import of data as part of system copy of ABAP stack.
    But i have not got any errors so far as the import process is running fine but there are few jobs which are showing as failed.Hence how can i reprocess these failed jobs again.
    Regards,
    Dheeraj

    Hi Juan,
    Here you go.And i have not selected the option" Start migration monitor manually "and where as on Source system the guy has used migration monitor option in order to split the tables and ftp for transferring the export data on target system.
    Is this error anything to do with that?
    Import Monitor.java.log
    Import Monitor jobs: running 1, waiting 1, completed 223, failed 13, total 238.
    Loading of 'RSERRORHEAD' import package: OK
    Import Monitor jobs: running 0, waiting 1, completed 224, failed 13, total 238.
    Import.monitor.log
    WARNING: 2011-04-30 02:57:31
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2011-04-30 02:57:31
    13 error(s) during processing of packages.
    INFO: 2011-04-30 02:57:31
    Import Monitor is stopped.
    SAPINST_dev.log
    TRACE      2011-04-30 02:57:37.578 [iaxxgenimp.cpp:699]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing option <i>SAP NetWeaver 7.0 including Enhancement Package 1 Support Release 1 > Software Life-Cycle Options > System Copy > Oracle > Target System Installation > Central System > Based on AS ABAP > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>Log Files</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to <code>C:\Program Files/sapinst_instdir/NW701/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/</code>. </p> </body></html>
    TRACE      2011-04-30 02:57:37.578 [iaxxgenimp.cpp:1248]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    Regards,
    Dheeraj

  • Trigger a job using an event through a process chain

    Hi,
    After the success of 5metachain, I am using AND condition
    My requirement is as follows, it should trigger a job which needs to be after AND condition,
    I have created an event using sm64. Basically the client wants to trigger the job using the event through the process chain. I have tried test scenariou2019s using ABAP program (Process type) in the process chain but it is failing. Is there any other way to trigger a job using an event through a process chain? If ABAP program is the only option, can you please specify what all needs to be filled in the variant?
    Regards.
    Jerry

    Hi,
    Create a program like below,
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        EVENTID = 'EVENT WHICH YOU HAVE CREATED'
    EXCEPTIONS
       BAD_EVENTID                  = 1
       EVENTID_DOES_NOT_EXIST       = 2
       EVENTID_MISSING              = 3
       RAISE_FAILED                 = 4
       OTHERS                       = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    search and include the program name which you have created above in the "ABAP program" process type which you are going to include in the process chain.
    Include the event which you have created in the start condition of the job.
    Note: No need of give any variant, because here we are calling only one function in this program.
    Regards,
    Sridevi.

  • BO XI 3.1 Re-schedule failed scheduling job

    Hi...
    I am not sure if I am just unable to find matching resources, but maybe someone can just point in the right direction.
    In a custom application, we have a scheduling overview, where we imitate some of the CMC behaviour.
    Now I need to add a feature to restart failed scheduling jobs.
    Some lines of pseudocode or a hint where I can find samples, documentation or anything will help.
    Any help is appreciated.
    Regards
    Jan

    Hi Ryan,
    Thanks for your reply. I have followed the same sequence but somehow the code is not functioning as expected.
    <%@ page import = "com.crystaldecisions.sdk.occa.infostore.*" %> 
    <%@ page import = "com.crystaldecisions.sdk.framework.CrystalEnterprise" %> 
    <%@ page import = "com.crystaldecisions.sdk.exception.SDKException" %> 
    <%@ page import = "com.crystaldecisions.sdk.framework.IEnterpriseSession" %> 
    <% 
        // logon information 
        String boCmsName  = "***" ; 
        String boUsername = "***" ; 
        String boPassword = "***" ; 
        String boAuthType = "secEnterprise" ; 
              // report 
        String reportName = "SDK_TEST" ; 
              // logon 
        IEnterpriseSession ceSession = CrystalEnterprise.getSessionMgr().logon( boUsername, boPassword, boCmsName, boAuthType ) ; 
        IInfoStore         oInfoStore = (IInfoStore)ceSession.getService( "", "InfoStore" ) ; 
        IInfoObjects oInfoObjects = oInfoStore.query("select top 1 * from ci_infoobjects where SI_NAME='" + reportName + "' " );
        IInfoObject oI = (IInfoObject) oInfoObjects.get(0);
              IInfoObject oSched = (IInfoObject) oInfoObjects.get(0);
               oSched.getSchedulingInfo().setRightNow(true);
               oSched.getSchedulingInfo().setType(CeScheduleType.ONCE);                    oInfoStore.schedule(oInfoObjects);
         %>
    What is happening here is, report is getting scheduled but it is not sending mail/attachment unlike the original schedule instance.
    Below are the details of the rescheduled instance
    Quote:
    Title: SDK_TEST
    Document Type: Web Intelligence Report
    Status Success
    Destination: Default
    Owner: ****
    Creation Time: 5/15/2014 1:53 AM
    Start Time: 5/15/2014 1:53 AM
    End Time: 5/15/2014 1:53 AM
    Duration: 3 sec
    Server Used: mdwnew.AdaptiveJobServer
    PID: 27131966
    Parent Object Path: **********
    Remote Instance in Federated Cluster: No
    Expiry: 5/15/2024 1:53 AM
    Formats: Web Intelligence
    Now my doubt is can we reschedule the report directly or we need to get all the scheduling info like from/to/events etc and then apply them for the new schedule? I think it will be a tedious job as it could be SMTP or FTP or inbox or anything.

  • OWB 9.0.4 ability to restart failed ETL jobs ?

    Hi all,
    Does OWB 9.0.4 provide the ability to restart failed ETL jobs ?
    For example in a Module of 20 mappings, 15 mappings have completed with success. Mapping 16 fails and hence OWF exists with failure. In the event the problem is rectified can OWB restart at mapping 16 rather than from mapping 1.
    Regards
    Nick

    Nick,
    At the moment there is no way to explicitly start from mapping 16, unless there are specific conditions that caused your mapping to fail.
    For example, if you have enabled resumable statements on the database level and your mapping would run into a situation where these can be leveraged (e.g. you run out of tablespace) then you could resume the execution and the process flow would continue.
    Also, if there is an external situation that causes your execution to fail (e.g. mapping does not exist) then you can use Workflow's restart capabilities to resume.
    If however there is a data reason why a mapping fails, then you will have to manually intervene and resolve the process. If your mappings have been defined in such a way that only changed data is being captured (may be a good idea after all...) then you could just rerun the entire process flow. In other cases... I am afraid you'll have to go in manually to execute the individual mappings and fix the process flow as such.
    Mark.

  • CCMS Monitor to Pager for Failed Background Jobs

    Hello Experts,
    I am currently leveraging Central CCMS monitoring to alert us via email whenever a background job fails in production using the MTE Class R3BPServerSpecAbortedJobs.
    I am trying to find a way that I can tweak the monitor to alert me ONLY when specific background jobs fail.
    We want this alert to notify the oncall pager only when a handful of critical jobs fail. Does anyone know how I can delimit this MTE?
    For example, we will be creating jobs that begin with Z_ALERT* that I will tie to an auto-react method that will email a pager.
    Thanks in advance.
    Bill

    Hi Sundara.
    From following link, you can download step by step setup information.
    So please check following documents.
    http://www.service.sap.com/bpm
    =>Media Library=>Technical Information
    =>1. Business Process Monitoring - Setup Roadmap
    =>2. Setup Guide - Business Process Monitoring
    Before you start setup, I recommend you to check
    SAP Notes 521820 to ensure whether you already fulfill
    prerequestions.
    Basically what you have to do is following.
    1. Describe your business process under following area.
       (T-CD DSWP =>Solution Landscape =>Solution landscape maintenance)
    2. Setup BPMon session.
       (T-CD DSWP =>Operation Setup => Solution Monitoring =>
        Business Process Monitoring)
       in BPMon session, select job monitoring. And define background
       job that you want to monitor.
       In BPMon job monitoring, you can monitor, cancel, delay, duration,
       unexpected parallelization, also job log and so on.
    I hope this information help you.
    Best Regards
    Keiji Mishima

  • How to run the job using DBMS_SCHEDULER

    How to run the job using DBMS_SCHEDULER
    pleas give some sample Iam very new to DBMS_SCHEDULER

    Hi
    DBMS_SCHEDULER
    In Oracle 10g the DBMS_JOB package is replaced by the DBMS_SCHEDULER package. The DBMS_JOB package is now depricated and in Oracle 10g it's only provided for backward compatibility. From Oracle 10g the DBMS_JOB package should not be used any more, because is could not exist in a future version of Oracle.
    With DBMS_SCHEDULER Oracle procedures and functions can be executed. Also binary and shell-scripts can be scheduled.
    Rights
    If you have DBA rights you can do all the scheduling. For administering job scheduling you need the privileges belonging to the SCHEDULER_ADMIN role. To create and run jobs in your own schedule you need the 'CREATE JOB' privilege.
    With DBMS_JOB you needed to set an initialization parameter to start a job coordinator background process. With Oracle 10g DBMS_SCHEDULER this is not needed any more.
    If you want to user resource plans and/or consumer groups you need to set a system parameter:
    ALTER SYSTEM SET RESOURCE_LIMIT = TRUE;
    Baisc Parts: Job
    A job instructs the scheduler to run a specific program at a specific time on a specific date.
    Programs
    A program contains the code (or reference to the code ) that needs to be run to accomplish a task. It also contains parameters that should be passed to the program at runtime. And it?s an independent object that can referenced by many jobs
    Schedules
    A schedule contains a start date, an optional end date, and repeat interval with these elements; an execution schedule can be calculated.
    Windows
    A window identifies a recurring block of time during which a specific resource plan should be enabled to govern resource allocation for the database.
    Job groups
    A job group is a logical method of classifying jobs with similar characteristics.
    Window groups
    A window groups is a logical method of grouping windows. They simplify the management of windows by allowing the members of the group to be manipulated as one object. Unlike job groups, window groups don?t set default characteristics for windows that belong to the group.
    Using Job Scheduler
    SQL> drop table emp;
    SQL> Create table emp (eno int, esal int);
    SQL > begin
    dbms_scheduler.create_job (
    job_name => 'test_abc',
    job_type => 'PLSQL_BLOCK',
    job_action => 'update emp set esal=esal*10 ;',
    start_date => SYSDATE,
    repeat_interval => 'FREQ=DAILY; INTERVAL=10',
    comments => 'Iam tesing scheduler');
    end;
    PL/SQL procedure successfully completed.
    Verification
    To verify that job was created, the DBA | ALL | USER_SCHEDULER_JOBS view can be queried.
    SQL> select job_name,enabled,run_count from user_scheduler_jobs;
    JOB_NAME ENABL RUN_COUNT
    TEST_abc FALSE 0
    Note :
    As you can see from the results, the job was indeed created, but is not enabled because the ENABLE attribute was not explicitly set in the CREATE_JOB procedure.
    Run your job
    SQL> begin
    2 dbms_scheduler.run_job('TEST_abc',TRUE);
    3* end;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> select job_name,enabled,run_count from user_scheduler_jobs;
    JOB_NAME ENABL RUN_COUNT
    TEST_ABC FALSE 0
    Copying Jobs
    SQL> begin
    2 dbms_scheduler.copy_job('TEST_ABC','NEW_TEST_ABC');
    3 END;
    4 /
    PL/SQL procedure successfully completed. Hope it will help you upto some level..!!
    Regards
    K

  • [SCOM 2007 R2] Alert on every failed SQL job

    We want alert on every failed SQL Agent job.  However, we only get one alert.
    We check that SQL 2000 would alert on every failed SQL job, but SQL 2005 & 2008 didn't behavior like that.
    What should we do?
    Thanks.

    Hello Matt,
    For auditing purposes we need to email every sql job failure and sql job success.  What I've seen is if the out of box "A(n) sql job failed to complete sucessfully", it will generate only one alert until the alert is manually resolved.
    And the alert if generated from a server with many Sql instances, it will generate for each windows event the same alert for each instance.
    If I create a rule and use "sql jobs" as the "rule target" for each application event every job generates an alert.
    So, if we use "Last Run Status", when it's working, I've seen that if two failures are generated within the frequency interval specified "600" seconds by default only one alert is generated.
    The MOM rule that uses this criteria from the Application event log:
    Event Number equals '208'
     Source Name matches regular expression 'SQLServerAgent|SQLAgent.*'
     Parameter 1 doesn't match wildcard 'OnePoint - *'
     Parameter 3 matches regular expression '^(失败|Fehler|Failed|Error|Échec|Non[ ]riuscito|失敗|失敗|실패)$'  
    As far as I can tell works fine. 
    One other respondent recommends using "windows computer" as the "rule target".  I think this will have the same problem as the ootb rule and only generate an alert once.
    I think potentially a rule that uses "agent job" as the rule target would work if in the criteria, we could add "description" contains "job name".   But the gui doen't expose "event description" as a criteria.
    Any help would be appreciated.
    Thanks,
    Paul

  • Dehydration failed with error: Use introspectWLS12 command to introspect domains

    Hello Experts,
    I am trying to Introspect my Oracle weblogic server Locally to configure appliances on my assembly in Virtual Assembly Builder using command
    # ./abctl introspectWLS -wlsHome /home/punit/Oracle/Infra/wlserver -domainRoot /home/punit/Oracle/Infra/user_projects/domains/base_domain -adminUser weblogic
    but it is getting failed with error:
    Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger..
    Error:  OAB-7105: Introspection failed.
    Caused by: Dehydrate job failed.
    Caused by:  OAB-50008: Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger.
    later I replaced introspectWLS with introspectWLS12  but its throwing   Usage error: Command not found: introspectWLS12.
    Can somebody help me in finding the exact command for version 12.1.2 to by-pass this..
    FYI: I am using fmw_Infra_121200_OVAB.jar binnary  bundled with JRF & FM Components on my OEL-6.0 platform
    Thanks in Advance
    Punit

    Hi,
    Thanks for your reply.
    This icon you provided means "the DHCP server connected but current user does not have the administrative credentials to manage the server."
    That's why "0x80070005. Access is denied" is received.
    DHCP console icons reference
    http://technet.microsoft.com/en-us/library/cc784812(WS.10).aspx
    So, you need to make sure the current user have the administrative credentials to configure DHCP server. Usually members of the DHCP Administrators
    group can view and modify any data at the DHCP server. DHCP Administrators can create and delete scopes, add reservations, change option values, create superscopes, or perform any other activity needed to administer the DHCP server, including export or import
    of the DHCP server configuration and database. DHCP Administrators perform these tasks using the Netsh commands for DHCP or the DHCP console. For more information, see
    DHCP tools.
    DHCP groups
    http://technet.microsoft.com/en-us/library/cc737716(WS.10).aspx
    Hope this helps.
    Thanks,
    Robbin Meng
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    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.

  • Z10 Autoloader failed/blocked, Device Bricked (110 Flash Pattern)

    Duplicate:http://supportforums.blackberry.com/t5/BlackBerry-10-OS-Device-Software/Blink-Blink-Pause-Flashing-Red-Light-Autoloader-failed-blocked/m-p/3120514/highlight/false#M17049

    Hello Everyone, Yesterday i began having issues with my z10. I had just updated to the recent OS and 5 minutes after turning on my z10 none of my apps would open (they would simply launch than close right away). I read a few CB forum posts and apparently this was a fairly common issue solved by performing a factory reset. So I connected my z10 to link and although the device was detected under "devices" the window read: "Can't communicate with device [Reconnect] or [Reload]" As suggested I took the reload option and a security wipe started. Sometime during the wipe something happened and the device stopped wiping and reloading. Now the device booted up displaying the error message "www.bberror.com/bb10-0015". I followed this error message to the KB and read through the steps to resolve. Again the suggestion was reloading the device. I attempted to power off the device as suggested (although it would simply boot back up to the bberror screen), and reload the device. I tried through the devices window and than through the preferences window (usually whats used when the device won't detect). Neither worked and I got "An error has occurred while updating your device's software. Unspecified error encountered [A:0x000000A2] ". So googling the error message I no longer found official blackberry help and went to forum solutions which suggested I download an use the autoloader command line.
    https://supportforums.blackberry.com/t5/BlackBerry-10-OS-Device-Software/Upgrading-OS10-devices-usin... I attempted to download the file although it was being bottle necked by the server and going painfully slow. So a quick google search found an official BB site with autoloaders:http://developer.blackberry.com/blackberry10devalpha/allautoloaders.html I downloaded the most recent stable one (10.3.1) and after a few hours was ready to start. I tried again to power off the device (no luck - just reboots and says error message), and then plugged it into my PC. At first the autoloader just kept saying connecting to bootrom for about an hour so i closed it and removed the battery from the device.I launched the autoloader again and when "connecting to bootrom" came up I plugged in the device USB. A bunch of USB port "in" and "out" noises occured and the autoloader when to work. My device no longer displayed the error message and LED was a solid green. When the autoloader finished I managed to capture a screenshot of it saying "OS blocked". The device than began the flashing pattern "Blink, Blink, Pause" then the cycle begins again. I figured I'd try it again and did so about 8 times - battery in, battery out, different USB ports, different computers, different usb cables. still no luck. So I left it charging as someone suggested on another forum post for about 6hrs in hopes of something happening.nothing. I am now sitting on a bricked device with the Blink Blink pause flashing cycle and am not sure what my next moves are. Thank you for taking the time to read my issues and I would greatly appreciate ANY suggestions you might have to revive my z10 ! <img>http://i.imgur.com/CJbkxnT.png</img> 

  • Failed timer jobs via powershell

    Hi Friends,
    Is it possible to get an output of the failed timer jobs in the Central Admin via powershell? If yes, could anybody please share the script?
    Shonilchi..

    Hi Shonilchi, 
    You haven't actually changed the script, other than to pipe the output of Format-Table to a text file. 
    The script (that I posted above) creates a collection of "jobs", which are stored in the $jobCollection variable. 
    The original code I posted above contained an example that filtered the collection based on a webapplication URL (which was http://devmy101), and then displayed the results using Format-Table.
    To create a CSV report using this collection, you would send the $jobCollection variable to the Export-CSV PowerShell cmdlet, like this:
    $jobCollection | Export-Csv -Path C:\temp\jobsreport.csv -NoTypeInformation
    If you wanted to create a CSV report of all the jobs that had failed on the farm, then this would be the complete code:
    $items = New-Object psobject
    $items | Add-Member -MemberType NoteProperty -Name "Title" -value "" ;
    $items | Add-Member -MemberType NoteProperty -Name "Schedule" -value "" ;
    $items | Add-Member -MemberType NoteProperty -Name "WebApplication" -value "" ;
    $webapplications = Get-SPWebApplication
    $jobCollection = @();
    foreach($wa in $webapplications)
    $jd = $wa.JobDefinitions;
    foreach($job in $jd)
    $j = $items | Select-Object *;
    $j.Title=$job.Title;
    $j.WebApplication=$job.WebApplication.Url;
    $j.Schedule=$job.Schedule;
    $jobCollection += $j
    #Add the farm jobs
    $f = get-spfarm
    $ts = $f.TimerService
    $jd = $ts.JobDefinitions
    foreach($job in $jd)
    $j = $items | Select-Object *;
    $j.Title=$job.Title;
    $j.WebApplication="Farm";
    $j.Schedule=$job.Schedule;
    $jobCollection += $j
    #Create the report and save it as jobsreport.csv in the C:\temp directory
    $jobCollection | Export-Csv -Path C:\temp\jobsreport.csv -NoTypeInformation
    Regards, Matthew
    MCPD | MCITP
    My Blog
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.
    I just added a webpart to the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

Maybe you are looking for