This is the single line of powershell script which restarts the timerservice jobs in sharepoint 2010
Get -SPTimerjob | where {$_.name -match "hourly"} | start -sptimerjob.
this line says to get all the sptimerjobs where name mathces hourly and run that job.
still stsadm command works but powershell is rocking :) admin people must learn this powershell.
About Me
I am a Software Engineer presently working in Microsoft as vendor.The main aim of this blog is to Share my knowledge in Sharepoint,AZURE and Silverlight.
Thursday, 19 November 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment