Hi
All,
Every
time i need to remove an expired update from a baseline is always the
same…select the baseline, show members, and select the updates I want to remove…edit
membership…
This
action takes time, imagine that you need to do it once a month (yes, patch
Tuesday). But, if you have many sw update groups?!?!? Yes, you’ll spend bit of
time doing it.
Based
on this, we can use PowerShell script as well as a console extension that will
allow you to remove all expired updates from a SW update group.
To
do it, download the RemoveExpiredUpdates
zip file, extract and add the files to the
following places: https://onedrive.live.com/redir?resid=AAD3278AFCB4BCA2%21271
1.
RFL-SUP Deployment Group.xml file to <CM12R2Console Installation
Path)\XmlStorage\Extensions\Actions\2853886b-cce5-4ed4-af43-df69efb2e7d8
And
2.
<CM12R2Console Installation Path)\XmlStorage\Extensions\Actions\bb1a22d4-816f-438c-b6e7-51cbc210112f (change
the CM12R2Console to the path of the console )
3.
RemoveExpiredUpdates.ps1 to C:\Scripts\CM12R2Console on the
same computer where you installed the CM12 R2 Console
Note:
the RFL-SUP Deployment Group.xml has the same name as the
href=”http://thedesktopteam.com/blog/raphael/sccm-2012-r2-sw-update-group-to-baseline/”
target=”_blank”>SW Update Group to Baseline and can easily be replaced as it
contains both actions. if you have not downloaded the SW Update Group to
baseline, i suggest you to do it now
Once
you have done it, restart the console and you’ll see a new action group called
RFL Systems and once you right click any software update group, you’ll also be
able to see the action (see below screenshot)
When
you click, a PowerShell screen will be shown and the baseline will be created
And
no worries, if there is nothing to remove, it will not do anything
You
can view what port the SSB is using by running the following query on the SCCM
SQL server.
SELECT name, protocol_desc, port, state_desc FROM
sys.tcp_endpoints WHERE type_desc = ‘SERVICE_BROKER’
Hope This Will Work!!
Regards,
Amarpal
No comments:
Post a Comment