tag:blogger.com,1999:blog-6771206549966151823.post4488896046139803676..comments2024-01-05T13:52:14.047+05:30Comments on TechPerspect Blog: Install Timer Jobs through Powershell in SharePointNitin Guptahttp://www.blogger.com/profile/14559778779645888140noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6771206549966151823.post-32019417563581018872016-11-08T17:02:26.466+05:302016-11-08T17:02:26.466+05:30Dear Fernando,
You can fill the property bag for y...Dear Fernando,<br />You can fill the property bag for your Job instance by writing below lines of code:<br /><br />$objTimerJobInstance.Properties.Add("Key", "TP")<br />$objTimerJobInstance.Update()Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6771206549966151823.post-2280137496244297272016-10-28T01:41:45.509+05:302016-10-28T01:41:45.509+05:30This is awesome, thank you. For many projects I ha...This is awesome, thank you. For many projects I had to build custom UI that were going to be used once, plus having to use SPFarm credentials. This is way better. <br /><br />A questio though, usually the timers I have to build have to have configurable parameters, which I would usually save in SPJobDefinition.Properties. How would you do that in PowerShell, is it possible? <br /><br />Thanks FAGFhttps://www.blogger.com/profile/08278997647455413904noreply@blogger.com