sharepoint timer job view start manage status check history using powershell

This post sharepoint timer job view start manage status check history using powershell describes how to view timer job status, start timer job , manage timer job, get timer job history using powershell. Follow the step by step process as described below.

how to find all sharepoint timer jobs in sharepoint server using powershell. Run below powershell commad to get details

Advertisements
Get-SPTimerJob | Format-Table -AutoSize
sharepoint timer job view start manage status check history
Advertisements

export all sharepoint timer jobs using powershell running below command

Get-SPTimerJob | Export-Csv "C:\AllTimerJobs.csv"
Advertisements

so as to get specefic timer jobs in sharepoint using powershell run below command

Get-SPTimerJob job-ceip-datacollection | Format-Table -AutoSize
sharepoint timer job view start manage status check
Advertisements

Get sharepoint timer job name and display name using powershell

Get-SPTimerJob | select Name, DisplayName
sharepoint timer job view start manage status
Advertisements
Get-SPTimerJob -WebApplication "http://win-56r9d2tbfob" | select Name, DisplayName
sharepoint timer job view start manage status check history powershell
Advertisements

Run below powershell command to get sharepoint timer job starting with name “user”

Get-SPTimerJob | Where-Object {$_.Name –like “*user*”} | Format-Table -AutoSize
sharepoint timer job powershell view start
Advertisements

Run below powershell command to get sharepoint timer job history like last time timer job run, last time job endtime, timer job status

Get-SPTimerJob | select -ExpandProperty HistoryEntries
get sharepoint timer job status check
Advertisements

Run below powershell command to get particular sharepoint timer job history

Get-SPTimerJob -Identity DocumentSetTemplateUpdate | select -ExpandProperty HistoryEntries
sharepoint timer job status check history
Advertisements

Run below powershell command to get sharepoint timer job history starting with “”

Get-SPTimerJob | Where-Object {$_.Name –like “*DocumentSetTemplateUpdate*”} | select -ExpandProperty HistoryEntries
timer job status sharepoint
Advertisements

sharepoint timer job powershell view start manage status check history | #SharePoint2019 #Powershell

Advertisements

configuration cache clearing sharepoint 2019 step by step

in this post we will discuss how configuration cache clearing sharepoint 2019 is done in on-premise environment step by step. clearing configuration cache involves below steps

  • Stop the sharepoint “SharePoint Timer Service (SPTimerV4)” “.
  • Delete all files of type “XML Document” from “Config” folder.
  • Take Back up of file “cache.ini” file.
  • Edit the value present in the file “cache.ini” and save.
  • Restart timer job “SharePoint Timer Service (SPTimerV4)“.
Advertisements

Stop timer job service SharePoint Timer Service (SPTimerV4)

first you need to stop the timer job service “sharepoint timer serivce (SPTimerV4)“. You can stop the timer service either directly opeining from services or you can use powershell command to stop sharepoiint timer service job.

Open “Run” from windows server or click button “Windows + R” to open “Run“.

how to open services.msc from windows server 2019
open services.msc
Advertisements

identifty the timer job “SharePoint Timer Service (SPTimerV4)“. Right click on the timer job, click on “Stop“.

how to stop services sharepoint timer services SPTimerV4 during configuration cache clearing
stop services sharepoint timer services
Advertisements

you can stop timer job “SharePoint Timer Service (SPTimerV4)” using powershell command as well. Open sharepoint timer services preoperties.

sharepoint timer services preoperties
sharepoint timer services preoperties
Advertisements

Open “Windows Powershell ISE” as an administrator and enter the command below to stop services.

Stop-Service -Name SPTimerV4
stop-service using powershell
stop-service using powershell
Advertisements

Navigate to sharepoint configuration cache location “C:\ProgramData\Microsoft\SharePoint\Config“. There will be one folder under which cache files will be there. click on that folder as per the screenshot below.

sharepoint configuration cache location
Advertisements

Delete all “XML Document” files present in that folder except “cache.ini“.

delete configuration cache files sharepoint during configuration cache clearing sharepoint 2019
Delete configuration cache files (XML Document)
Advertisements

Open the file “cache.ini” and edit value to “1” and “Save” the file.

edit the vluse present under file cache
Edit the vluse present under file cache
Advertisements

Restart the timer job now which will recreate the cache files. Run the below command so as to start sharepoint timer service.

Start-Service -Name SPTimerV4
start-service
start-service
Advertisements

Cache files will be recreated in the folder “Cache”.

configuration cache clearing
configuration cache created again
Advertisements

Configuration Cache Clearing SharePoint 2019 | #SharePoint, #SharePoint2019, #ConfigCache

Configuration Cache Clearing SharePoint 2019 | #SharePoint, #SharePoint2019, #ConfigCache
Advertisements