Collections membership
Hi, is there a report in ConfigMgr 2012 that can show all systems that hasnt been added in any collections.
Thanks
Jeff
Hi,
I saw a query to find the collection membership information for a specific client machine. You could customize the query to meet your requirement.
http://blogs.technet.com/b/configurationmgr/archive/2009/08/24/how-to-find-the-collection-membership-information-of-a-specific-client-machine.aspx
Best Regards,
Joyce Li
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Similar Messages
-
Report to list all computers and their collection membership
Hi
I am currently working on a site where direct membership is used for collections but a need has arisen to move to AD Queries.
I have created a simple powershell script that creates groups based on the contents of a csv file and another script which populates this with the members listed in another csv file.
To help speed up the process is there a way to generate a report that lists ALL Computers and their Collection membership?
The only reports I seem to find that are built in require an inputted value of either computer name of collection ID. I simply need a report that lists Computer Name is column 1 and Collection Name in column 2 for all computers and all collections.
Many Thanks,
Matt Thorleyselect
FCM.Name,
C.Name
from
dbo.v_Collection C
join dbo.v_FullCollectionMembership FCM on C.CollectionID = FCM.CollectionID
Thanks to Garth for original query. I just modified it :)
Anoop C Nair (My Blog www.AnoopCNair.com)
- Twitter @anoopmannur -
FaceBook Forum For SCCM -
OSD: install software DURING task sequence based upon collection membership
Hi,
I'd like to refer to my
previous post as a starting point.
Below again the background of my question. But please advise on a powershell script that runs at the end of a task sequence that:
*enumerates the pc's collection memberships and based upon that lists the software available
*puts this software in a variable and does the installation DURING the task sequence
J.
Background:
At this time, software in our deployment (of Windows 7) is installed AFTER the task sequence is finished.
The software is deployed based upon the computer membership of collections (which get their info from AD groups).
Problem is that users see their pc as finished but don't have all their software. It even takes sometimes more then an hour even when we refresh computer policy after final reboot of the system. That's why we really need a bulletproof solution = installation
of software DURING task sequence.
Jan HoedtI found some time to adjust the script. Now I've created something similar for a device. Basically it finds the collections of which the device is a member, finds the targeted applications and creates task sequence variables for those applications.
See for more information:
http://www.petervanderwoude.nl/post/install-computer-targeted-application-during-os-deployment-via-powershell-and-configmgr-2012/
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Hi All,
I'm hoping i have just made a simple error / change and not noticed, however at the moment and not for all Collections, i am having issues with Membership.
Problem:
Adding a Computer Object into an AD Group and using a Membership Query (Of the AD Group) to add members to a collection will not work.
Info:
I have added a PC to an AD Group "MS Office 2010", forced AD Group Discovery, made a Query and run it to test (Works, shows the member) and added the query to the Membership Rules Tab (Add Rule > Query Rule > Import Query)
If i then "Update Membership" and/or refresh the collection membership it still does not appear, thus not receiving the software i have advertised to it.
Any assistance would be greatly appreciated.
BrandonSince this is CM07, it will take a while for new groups to be populated. If I remember right you MUST do the following in the following order.
Create the group and add members
Wait for AD replication to happened
Reboot the computers
Force AD group discovery to happen
Force Heartbeat discovery to happen
Create/ force the collection membership to up
Run the machine policies
If you use direct membership rule of the security Group:
Create the group and add members
Wait for AD replication to happened
Force AD group discovery to happen
Create/ force the collection membership to up
Reboot the computers (anytime after step 2)
Machine policies should run automatically
BTW, in CM12 this process has change and it now take ~2 minutes an applciaiton to show on on the computer.
Create the group and add members
Wait for AD replication to happened
Force AD group discovery to happen
Create/ force the collection membership to up
Run the machine policies
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
SCCM 2012- How to limit a collection membership only for specific count of machines
How to limit a collection membership only for specific count of machines
As I said you can use where SMS ID like %1 and see how many machines that gets you. If it's not enough do where SMS ID like %1 or SMS ID like %2. Keep adding a digit until you get ~5000. It won't be perfect though.
John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/ -
Updating all collection memberships
In 2007, we could select "Update collection membership" and select to update subcollection membership as well. I have migrated all of our collections to 2012, and the sub-collections are now residing in folders. I can highlight all of the collections
immediately under "device collections" and update them. But in order to update the collections now in folders, I have to go to each folder and repeat this process. Is there not a way to update all collections like I could in 2007? ThanksI would love to enable dynamic collection updates and was planning on doing this for all my collections until I read this yesterday:
http://social.technet.microsoft.com/wiki/contents/articles/11215.system-center-2012-configuration-manager-best-practices-en-us.aspx
When you enable the Use incremental updates for this collection option, this configuration might cause evaluation delays when you enable it for many collections. The threshold is about 200 collections.
We have over 250 collections in our environment right now. So that puts that idea out. Thanks though
Then, as Jorgen said, updating all of your collections at the same time, is a bad idea from a performance perspective. Also, why not just enable dynamic updates on the collections that actually need to be dynamically updated? I heavily doubt that all of your
collections need this?
Jason | http://blog.configmgrftw.com -
OU based Device Collection Membership not updated frequently
Hi,
I have create one OU based device Collection and checked Used incremental updates for this collection under Membership rules but whenever any Computer object moved form this OU to another OU than such Device is not removed
from same OU based Device Collection... the Collection membership change is not happening properly even after i did update membership of that OU based device collection..
My requirement is whenever any Computer object added or removed in/from any OU in AD than the membership of corresponding OU based device collection should up updated within 5-10 minutes how i can do this .
To achieve this I done below configuration but its membership of the collection not updated... please guide..
Shailendra DevTo add to Jorgen, note, there is going to be more to it than just AD discovery.
What exactly does your query look like?
Exactly how often is both your Hardware inventory and Heartbeat discovery set to? Do you have SW inventory enabled?
Just to get thing out there IMO the requirement updated within 5-10 minutes is nuts.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
How to Merge Report of ManagedBy Attribute with Collection Membership
I would like to merge the query below:
SELECT
v_R_System.Name0
,v_R_System.managedBy0
,v_R_User.Full_User_Name0
,v_R_User.Distinguished_Name0
FROM
v_R_System
INNER JOIN v_R_User
ON v_R_System.managedBy0 = v_R_User.Distinguished_Name0
With a query similar to that in the built-in "All Resources in a Specific Collection" report:
SELECT
fcm.Name,
CASE WHEN coll.CollectionType = 1 THEN fcm.SMSID ELSE fcm.Name END as Id,
CASE WHEN ResourceType = 3 THEN '*' ELSE '' END as C066,
CASE WHEN ResourceType = 4 THEN '*' ELSE '' END as C067,
CASE WHEN ResourceType = 5 THEN '*' ELSE '' END as C068,
SiteCode,
CASE IsDirect
WHEN 1 THEN '*'
WHEN 0 THEN ''
END AS C069,
coll.CollectionType
FROM fn_rbac_FullCollectionMembership(@UserSIDs) fcm
INNER JOIN fn_rbac_Collection(@UserSIDs) coll on fcm.CollectionID = coll.CollectionID
WHERE fcm.CollectionID = @ID
The merged query would be used to build a table that has System_Name, Managed_By, Is_Member as its fields. The Is_Member field would contain a * if the system is a member of the designated collection, and be null if it is not.Untested, because again, I don't have managedby attribute being pulled in via system disc in my lab. And yeah, you either never said it, or I never read your request that way, that you wanted to 2 collectionIDs.
;with CollMembers as
Select coll.Collectionid, fcm.resourceid, coll.name,
case when coll.collectiontype=1 then fcm.smsid else fcm.name end as ID,
case when fcm.resourcetype=3 then '*' else '' END as 'UserGroup',
case when fcm.resourcetype=4 then '*' else '' END as 'User',
case when fcm.resourcetype=5 then '*' else '' END as 'System',
fcm.SiteCode,
case fcm.isDirect
when 1 then '*'
when 0 then '*'
end as 'Is Direct Membership',
case coll.CollectionType
when 0 then 'Other'
when 1 then 'User'
when 2 then 'Device'
end as 'CollectionType'
from v_fullcollectionmembership fcm
join v_collection coll on fcm.collectionid=coll.collectionid
where coll.CollectionID=@CollectionIDWhereIWantaStar
Select s1.Name0 as 'ComputerName',
usr.Full_User_Name0 as 'Assignee',
case when CollMembers.Resourceid=s1.Resourceid then '*'
else '' end as 'Member of Collection'
from v_r_system s1
join v_r_user usr on s1.managedby0=usr.Distinguished_name0
left join Collmembers on CollMembers.resourceid=s1.resourceid
join v_fullcollectionship fcm on fcm.resourceid=s1.resourceid
where fcm.collectionid=@CollectionIDOfTheLargerCollection
order by 'Member of Collection' desc, s1.name0
Standardize. Simplify. Automate.
One final tweak and we've got it! Thanks Sherry! -
Collection Membership: Include collection, does it update?
Hi,
I've got this SCCM "collection 1" which has a membership rule to include another collection "collection 2". This "collection 2" is based upon a query of Windows 2008 R2 machines.
I can see a new windows 2008 R2 server in "collection 2" but it does not show up in "collection 1" (refreshed the collection).
Please advise.
J.
Jan Hoedt"it does not show up in "collection 1" (refreshed the collection)."
Just to double check: does that translate to "update membership"?
Torsten Meringer | http://www.mssccmfaq.de -
Creating Collection Membership rules
I'm looking to create some rules for collections that will automatically include all Windows 7, 8 machines into one collection and all server OS's in another collection. I got as far as creating a rule based on Operating System Name and Version but I'm
not sure what syntax to use so it grabs all Windows 8, 8.1 and Windows 7 machines and the same for Server 2012, 2012 R2, etc.
Vincent SpragueThere are several ways to do this.
Personally, I would create two (2) main collections to use as limiting collections for all other collections.
The first is 'All Servers'. Query is:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion like "%Server%"
The second is 'All Workstations'. Query is:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion not like "%Server%" or SMS_R_System.OperatingSystemNameandVersion IS NULL
The 'Null' bit in the second query is to cover recently added items to Configuration Manager that haven't had a chance to grab their details from Active Directory or don't have an operating system installed. You may want to remove that bit, depends on your
environment.
Then use either of these as the limiting collections for any subsequent collections. So to grab all the Windows 8 & 8.1 workstation, create a new collection, limit it to 'All Workstations' and make the query against 'System Resource - Operating System Name
and Version' with an 'is like' operator against '%Workstation 6.2%' or '%Workstation 6.3%'. SQL query ends up being:
select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion like "%Workstation 6.2%" or SMS_R_System.OperatingSystemNameandVersion like "%Workstation 6.3%"
Just tweak the query as necessary depending on how broad or narrow you want your other collection to be. -
Does Kodo already support the collection membership equivalent of SQL
"IN"? It's Example 14.7.6 in the Query chapter of the final JDO 1.0
spec.Does Kodo already support the collection membership equivalent of SQL
"IN"? It's Example 14.7.6 in the Query chapter of the final JDO 1.0
spec.Unfortunately, no. I've logged a bug for it:
https://bugzilla.solarmetric.com/show_bug.cgi?id=363
In the meantime, our query extensions allow you to create IN clauses. -
Hi all,
I have noticed at LR 4.2, that if you edit an image of a smart collection using PS (edit in PS function threw LR) and then save, the image is not appearing in the specific smart collection. Instead image appears in the parent folder from where the smart collections retrieves images.
Has anyone notice that as well??
Forgot to mention that my parent folder with files is a collection created with virtual copies of seleveted files. If i edit in Photoshop directly threw this virtual copies collection then the files appears in smart collections as well. but if i edit in PS directly from smart collections then files dont appear into smart collections neither at the virtual copies collection!!"obviously you use virtual copies when creating those collections" - why? It seems to me that this just increases the number of images in your Library for no benefit, unless you want to independently edit the two image versions, one inside the Event collection and one outside the collection. If you ever wanted to see an unedited version of a particular image, LR retains the history (and before/after view) needed to show that, within the single thumbnail.
It is not necessary to make a Smart Collection in order to show only picked images from a particular event. You can use a Filter to show just the picked images and hide the rest. That means you can work inside the collection, and that means that when you edit an image to PS, the new LR version WILL inherit the collection membership as well as the Pick status, and therefore will immediately show next to the image it is based on.
I think this is going to be simpler and easier - BTW you don't have to go back to Library Grid view in order to apply filters, only in order to configure them in the first place. By saving Filter presets with a name, you can then select between these directly [from the menu at the right end of the Filmstrip] while you work, even in Develop- for example, "no filter", "picked", "unpicked", "rated two or more", whatever you want. Also you can switch between the recently-viewed collections and folders [from a menu when you click on the image details text toward the left end of the Filmstrip], to change the underlying content of the Filmstrip, to which you are applying these filters.
By "using selection criteria other than membership in a manual collection", I just meant: a special keyword, or a particular folder, or some combination of such things. But if you prefer to put images into a Collection, you can just use that directly and IMO you don't need the SC.
I personally like to have some kind of sufficiently identifying keywords on the image anyway, so that Exported copies will also show this information automatically... since an exported image will not reveal what collection its master image belonged to, that classification alone is not enough IMO. -
Machines not showing up in AD group based collections in CM 2012
Hey Folks
I am facing a wired issue, with collection based on AD group. We have added multiple machines to a AD security group. All these machines are already discovered in CM12. AD group has been added in AD group discovery & we a collection is created based
on this particular AD group. The issue is that there are few machines which are not showing up in AD group collection.I have tried to manually update collection membership, run full discovery : AD system discovery & AD group discovery. When i check that
machines properties in SCCM console the specified AD Group is not showing there. Not sure how do i proceed further.
Thanks in anticipation.
SumitWe need the your collection query and colleval.log to check the issue. Can you please provide the info here?
Juke Chou
TechNet Community Support -
Dear Brothers,
I am deploying a huge application (requires 45 Minutes to Install, 3 to 5 Restarts), and I need to limit the deployment to 5 computers at a time. Limiting my Network Load and also the availability of the computers in operation as it requires a successive
Restart.
My aim is to "Create" a "Collection" to focus on deploying the software to
5 computers at a time. The collection that limits to 5 computers can help our production environment to focus on the total deployment time without disturbing other computers.
Regards,I would use powershell to do this. Create a Collection with all the computers that should get the application.
Then in powershell - get all the members of that Collection into a variable. Use that variable as a basis for creating new Collection and create some logic that takes 5-10 machines and put those into a new Collection and then takes the next 5-10 machines
and so on.
I guess you could also do it using a combination of Query and Exclude Collections membership rules, but you would have to do it manually. -
I sync a Collection on my Mac with Lightroom
Then I open lightroom on my iPad and I can see and work on it
Then I activate syncing on a pc win, but I got a Warning about syncing catalogue and if I go on, I got the collection synced lost.
thanksIt's clunky, but if two catalogs refer to the same images, you can pass some settings back and forwards between these two catalogs via external metadata on the file. These images may be literally shared, or else separately stored but with changes physically transferred (replicated / synced). But LR Mobile is AFAICT no help at all in this.
Collection membership cannot be replicated this way - to do that directly, you would instead need some method based on passing Catalog data back and forth, as mentioned in another reply. However, as a workaround, if you were to apply a characteristic keyword, you could make a Smart Collection in each place which was based on the presence of that keyword. This alters the problem, into getting the same keyword loaded into images within each of two Catalogs - and that CAN be done via external metadata. However, AFAIK via this workaround, this grouping of the images will not then show up in LR Mobile in the same way, in the form of a standard Collection. However, the keyword should be visible to LR Mobile in due course.
Caveat: besides being clunky, the above's a little hazardous too:
Whenever you write metadata to file, LR goes ahead and unselectively obliterates everything that was previously there in the file. It won't warn you, if this operation overwrites older edits onto newer ones.
Whenever you read metadata from file, LR goes ahead and unselectively updates all that image's settings in the active Catalog. Again, it won't warn you, if this operation overwrites older edits onto newer ones.
Maybe you are looking for
-
How search text in current frame of external swf?
Hello Everyone I am loading an external swf using loader. How do search and highlight the text in the current frame only? Is there a frame class which I could use? Thanks
-
Old podcasts not showing on ipod
hi i recently got a replacement ipod and for some reason i can't get all my old podcasts (that are on itunes still) onto my ipod. can anyone help please?
-
Error when downloading iOS 6.1.2
I am trying to download iOS 6.1.2 on a new iPad 2 and my internet connection was interrupted, so the installation stopped. Now when I try to download the update, a box pops up "Unable to Install Update : An error occurred installing iOS 6.1.2" ??
-
Question to "Your range has been reduced to the maximum rows allowed"
I have about 5000 records in my Xcelsius. Once I preview it, system show "Your range has been reduced to the maximum rows allowed". Should I reduce records only less than 512 records?
-
Beta Testing Opportunity Continues: EBS R12 Administration exam (1Z1-206)
T minus 33 days! http://bit.ly/FcNWx Beta opportunity continues for Oracle EBS R12 System Administration exam 1Z1-206 http://bit.ly/geqfX