Very nice Andre. I tried doing something similar a few months back and could 
never get the programflags to work properly, ended up just using 'All 
platforms'.

Thank you!

Daniel Ratliff

From: [email protected] [mailto:[email protected]] On 
Behalf Of Andre Bocchini
Sent: Wednesday, August 28, 2013 12:39 PM
To: [email protected]
Subject: Re: [mssms] I want to enable the Windows 8 support platform for bunch 
of packges

This is not too bad to do.  The basic process involves:

1. Determining the platforms you want to support
2. Building a list of all program you want to change
3. Iterating through every program and making sure you set the 
SupportedOperatingSystems property with the list of platforms you want to 
support
4. Making sure you check the box labeled "Only on specified client platforms" 
on each program
5. Profit

I hacked something together real quick to give you an idea.

https://gist.github.com/andrebocchini/6368082#file-gistfile1-ps1

It's a little on the messy side of things, but should give you an idea of how 
you can do it.  It should
work on SCCM 2007 and 2012.  Make sure you test it (and double-check 
everything) on non-important packages before running it through something 
serious in production.

I hope it helps.

On Tue, Aug 27, 2013 at 7:19 AM, Ranvir singh 
<[email protected]<mailto:[email protected]>> wrote:
I want to enable the Windows 8 support platform for bunch of packges.

SO is their any script or any easy way to do the for 100's pakcages ?




--
Andre Bocchini
College of Applied Health Sciences
University of Illinois at Chicago


The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.


Reply via email to