Skip navigation

Monthly Archives: March 2013

So last week we lost our second dog to cancer. My corgi Keenan who’s been with us for 9 years has left us. I’ve not really been able to talk or write about it but my wife has done a good job with it here: http://thebelcherfamily4.blogspot.com/2013/03/farewell-friend.html?m=0

I loved that dog, and am thankful for the time we had with him. He’s been with us a relatively long time.

There is definitely something missing in our home now.

Laziness is the true mother of necessity I think in IT, and the tedious act of viewing multiple properties pages brought about this one liner.  If you too are setting up diverse deployment sets and need to quickly verify multiple deployments for reboot supression state. Here’s a way to do it in powershell:

gwmi -namespace "root\sms\site_<sitecode>" 
-query "select assignmentname from sms_updategroupassignment 
where assignmentname like '%<NAME SEARCH VALUE>%' and suppressreboot = '3'"
 -ComputerName <SITESERVERNAME> |Select -Property assignmentname

<chopped up for readability sake>

Suppressreboot values:
0 = No Suppression
1 = Workstation Suppression
2 = Server Suppression
3 = Server & Workstation Suppression

replace <> values with your relevant search criteria.

More class information.