No, I just post on myitforum every now and then and I work on the PowerShell right click tools for ConfigMgr 2012 at Codeplex.
On Thu, May 30, 2013 at 8:20 PM, Todd Hemsell <[email protected]> wrote: > Ryan, > > do you have a blog? > > > On Thu, May 30, 2013 at 12:52 PM, Ryan <[email protected]> wrote: > >> I thought SMS_Advertisement didn't work with Applications, just packages >> and task sequences. >> >> >> On Thu, May 30, 2013 at 12:24 PM, Kelley, Matthew <[email protected] >> > wrote: >> >>> A user based collection will have a collectionID just like any other >>> collection. You don’t have to do anything different, just use the >>> collectionID you want to target when you set the properties for the new >>> advertisement class you create. SCCM 2012 still uses sms_advertisement WMI >>> class for deployments.**** >>> >>> ** ** >>> >>> SMS_Advertisement Server WMI Class >>> http://msdn.microsoft.com/en-us/library/cc146108.aspx**** >>> >>> ** ** >>> >>> $newAdvert = >>> [WmiClass]"\\$Server\root\sms\site_$($SiteCode):SMS_Advertisement"**** >>> >>> $newAdvertisement = >>> $newAdvert.PSBase.CreateInstance()**** >>> >>> $newAdvertisement.CollectionID = >>> $CollectionID**** >>> >>> ** ** >>> >>> All the other flags/props you need to set are outlined in the msdn link >>> above.**** >>> >>> ** ** >>> >>> Kelleymd**** >>> >>> ** ** >>> >>> ** ** >>> >>> ** ** >>> >>> *From:* [email protected] [mailto: >>> [email protected]] *On Behalf Of *Ryan >>> *Sent:* Thursday, May 30, 2013 12:01 PM >>> >>> *To:* [email protected] >>> *Subject:* Re: [mssms] Powershell - Deploy an Application to a user >>> collection**** >>> >>> ** ** >>> >>> Start-CMApplicationDeployment**** >>> >>> Start-CMPackageDeployment**** >>> >>> Start-CMTaskSequenceDeployment**** >>> >>> ** ** >>> >>> On Wed, May 29, 2013 at 4:14 PM, Todd Hemsell <[email protected]> wrote: >>> **** >>> >>> How can you create a deployment to a user collection in powershell?**** >>> >>> **** >>> >>> Thanks!**** >>> >>> **** >>> >>> Todd**** >>> >>> ** ** >>> >>> ** ** >>> >>> ** ** >>> >>> ********************************************************** >>> Electronic Mail is not secure, may not be read every day, and should not >>> be used for urgent or sensitive issues >>> >>> >> >> > >

