1

how to get the timer job name from a given timerjob id in sharepoint 2010 server farm. ex: i have a timer job id

Get-SPTimerJob | Where {$_.id -eq "xxxxxxxx3"} | ft id,name

it displaying empty results, what is the proper way to get the name of timer job name or from central administration is any way

  • id means GUID? or something else – Waqas Sarwar MVP Feb 26 '16 at 18:23
  • if you providve the proper guid then you will get it. run get-sptimerjob -identity "" and see if it return anything – Waqas Sarwar MVP Feb 26 '16 at 18:33
  • Actually, your code is OK. As @WaqasSarwarMCSE said, it seems to be an issue with your "xxxxxxxx3" literal. PS: please consider adding powershell tag to your question – Aziz Kabyshev Feb 26 '16 at 18:40
  • i just given some example id here xxxxx – adilahmed Mar 5 '16 at 9:06
1

Wouldn't it be

$id = [GUID]("xxxxx-xxxx-xxxx-xxxx3")  // whatever your id is as string
Get-SPTimerJob -Identity $id | select Name, DisplayName

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.