programming4us
programming4us
WEBSITE

Sharepoint 2013 : Farm Management - Display Available Timer Jobs on the Farm, Get a Specific Timer Job, Enable a Timer Job

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Display Available Timer Jobs on the Farm


Scenario/Problem: You need to obtain a timer jobs reference and therefore need a listing of available timer jobs.


Solution: Use the Get-SPTimerJob cmdlet without any parameters to retrieve all available timer jobs.

To obtain a timer job reference object, you need to find the identity of the timer job. Using Get-SPTimerJob by itself (see Listing 1) displays all available timer jobs, as shown in Figure 1.

Listing 1. Displaying All Available Timer Jobs


Get-SPTimerJob


Image

Figure 1. Get-SPTimerJob displays all available timer jobs.

Get a Specific Timer Job


Scenario/Problem: You need to obtain a specific timer job reference.


Solution: Use the Get-SPTimerJob cmdlet to assign a variable the results using the -Identity parameter.

Providing the identity of the timer job with the Get-SPTimerJob cmdlet retrieves a specific timer job. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 2.

Listing 2. Assigning a Variable to a Specific Timer Job


$timerJob = Get-SPTimerJob -Identity "DocIDEnable"


In this case, the Identity parameter is the name shown when retrieving all timer jobs (Get-SPTimerJob). You also can use the GUID of the timer job.

Enable a Timer Job


Scenario/Problem: You want to enable a specific timer job.


Solution: Use the Enable-SPTimerJob cmdlet.

To enable a timer job, execute the Enable-SPTimerJob cmdlet with the Identity of the timer job or a timer job variable. Listing 3 shows a sample command line.

Listing 3. Enabling a Timer Job


$timerJob = Get-SPTimerJob -Identity "DocIDEnable"
Enable-SPTimerJob $timerJob

Other  
  •  Sharepoint 2013 : Farm Management - Review Workflow Configuration Settings,Modify Workflow Configuration Settings
  •  Sharepoint 2013 : Farm Management - Review SharePoint Designer Settings, Configure SharePoint Designer Settings
  •  Sharepoint 2013 : Farm Management - Remove a Managed Path, Merge Log Files, End the Current Log File
  •  Sharepoint 2013 : Introducing jQuery for SharePoint developers (part 2) - Understanding jQuery methods,Understanding jQuery event handling
  •  Sharepoint 2013 : Introducing jQuery for SharePoint developers (part 1) - Referencing jQuery, Understanding the global function, Understanding selector syntax
  •  Sharepoint 2013 : Introducing JavaScript for SharePoint developers (part 3) - Creating custom libraries
  •  Sharepoint 2013 : Introducing JavaScript for SharePoint developers (part 2) - Understanding JavaScript functions, Understanding JavaScript closures, Understanding JavaScript prototypes
  •  Sharepoint 2013 : Introducing JavaScript for SharePoint developers (part 1) - Understanding JavaScript namespaces, Understanding JavaScript variables
  •  Sharepoint 2013 : List and library essentials - Creating and deleting lists
  •  Sharepoint 2013 : List and library essentials - Using your apps
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us