I try to import computers to SCCM with powershell, but the collection dont update with the new member.

Hi,

We have SCCM 2012 R1 cu1, I have created an collection for server deployment "OSDServer" it is limited to "All Systems". Every thing works fine when I use the guid to import new computers.

PS command I run:

Import-CMComputerInformation -ComputerName "Server01" -MacAddress 00:00:00:00:00:00 -CollectionName "OSDServer"

I do get an direct membership of "Server01", but the collection still have count 0 as members. The Collection is emty if you look in it. I ty to refresh and update, but it dont help.

Someone that have any idea what I have done wrong?

June 19th, 2015 3:06am

Please verify that the device shows up in the All Systems collection already.
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2015 3:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics