当前位置:网站首页>SCCM creates a client collection based on the installed app and periodically pushes application updates

SCCM creates a client collection based on the installed app and periodically pushes application updates

2022-06-21 12:58:00 51CTO

background

Without buying a third party APP Under the premise of ,SCCM Administrators often need to add some APP Carry out directional push or put it in the software center for user self-service installation . But it is necessary to keep these software updated regularly 、 The state of maintenance , Make sure APP Can be used normally .


Ideas

Based on the above demand background , There are many ways to do it . Here I will first introduce a relatively simple 、 A convenient way . The steps are as follows :

  1. Create a dynamic collection of computers , Its constituent members are the installed specified APP( Take enterprise wechat as an example ) The computer ;
  2. Create a forced software push APP( Enterprise WeChat ) Deployment tasks , And apply to this computer set ;

step

1. Create a collection named Enterprise wechat updates automatically ;
2. Set the membership rule type to Query rules ;
3. Set query statement as :

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceId = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName in (" Enterprise WeChat ") and  SMS_G_System_ADD_REMOVE_PROGRAMS.Version like "%" order by SMS_R_System.Name

     
  • 1.

4. Set update cycle , My environment is set to 4 Hours ;
The final effect is shown in the figure below :
 SCCM Based on installed APP Create client collections and periodically push application updates _SCCM
5. Set enterprise wechat to force push to the collection :
 SCCM Based on installed APP Create client collections and periodically push application updates _SCCM_02

thus , This requirement has been preliminarily completed ( Of course , It can also pass CMPivot To quickly create the computer collection )


reflection

At present, only the clients that have been installed with enterprise wechat are not fully and accurately collected , It also preliminarily realizes that when the administrator updates the enterprise wechat in the software center , Clients installed in the past will also be automatically updated to the new version . So here comes the question , These are based on the fact that the administrator knows that the enterprise wechat has a new version , Then manually download and update to DP. How to automate these operations ?

Next , I will be based on Python Scripts for regular monitoring APP Link to the official website of , Remind the administrator when there is a new version ( Or automatically download and update to DP)

Enjoy ~~

原网站

版权声明
本文为[51CTO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211232345141.html