Corbendallas Posted June 21, 2011 Report post Posted June 21, 2011 Hello experts So, I have a package which needs to be automatically updated the first of every month. No big deal, just set the schedule and your done. Now, the customer has got the bright idea that they want to schedule an update every sunday as well. Is that even possible? As far as I can see, you can't do it in the ordenary scheduler of the package so some out of the box thinking is probably needed. Ideas? Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted June 21, 2011 Report post Posted June 21, 2011 There is only one schedule alowed per package... Quote Share this post Link to post Share on other sites More sharing options...
0 Trevor Sullivan Posted June 29, 2011 Report post Posted June 29, 2011 Quite easy to do using Windows PowerShell and the WMI provider for SCCM: # Populate these variables $SccmServer = 'MySccmServer' $SccmSiteCode = 'LAB' $PackageID = 'LAB00023' $MyPkg = Get-WmiObject -ComputerName $SccmServer -Namespace root\sms\site_$SccmSiteCode -Class SMS_Package -Filter "PackageID = '$PackageID'" $MyPkg.RefreshPkgSource() Now, schedule this to execute in the Windows task scheduler, using an account that has access to the SCCM Provider. Cheers, Trevor Sullivan http://trevorsullivan.net http://twitter.com/pcgeek86 Quote Share this post Link to post Share on other sites More sharing options...
Hello experts
So, I have a package which needs to be automatically updated the first of every month.
No big deal, just set the schedule and your done.
Now, the customer has got the bright idea that they want to schedule an update every sunday as well.
Is that even possible?
As far as I can see, you can't do it in the ordenary scheduler of the package so some out of the box thinking is probably needed.
Ideas?
Share this post
Link to post
Share on other sites