web analytics

Blog

SCCM 2007 – Get Collection Advertisements and Membership count

Posted by:

To query Collection Advertisements and Membership count

  1. Open PowerShell
  2. Move to Scripts folder
  3. Type Get-CollectionAdvertisements.ps1 -SiteCode PS1  -SiteServer Localhost

Example

Example Output

Get-CollectionAdvertisements_Sample_Output

You can download the code example from here



About the Author:

Kaido Järvemets is a developer, consultant, trainer specializing in Microsoft System Center Configuration Manager and PowerShell Solutions at Coretech. Kaido frequently speaks at European conferences and had his US debut as speaker at MMS April 2013. Kaido is well-known in the Configuration Manager communities where he’s a key player in the PowerShell game. Kaido host one of the most complete Configuration Manager PowerShell library’s in the world with hundreds of free code samples ready to download and implement – www.cm12sdk.net. Kaido has been awarded Microsoft Most Valuable Professional (MVP) in Microsoft Enterprise Client Management for his work with Configuration Manager from 2011 – to present. Kaido is the founder of System Center User Group Estonia in 2011.

Add a Comment