Copying SCCM collection membership of old pc to replacement pc

I was just wondering if there is a powershell script that will copy the SCCM membership of computer A and apply them to computer B.
I have a receptionist pc that has specialized pbx software etc installed on it and going through all the organizations device software deploy collections is taking way to long to find where everything is.
Has anyone else been able to do this?
Brent_1978Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nagendra Pratap SinghDesktop Applications SpecialistCommented:
There are powershell scripts that will find out the memberships for a certain computer. You can do the rest manually (Only few memberships would be via direct addition)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brent_1978Author Commented:
disappointing that there are no scripts to do this.
As some SCCM managers have hundreds of collections that the new pc needs membership to.
0
Nagendra Pratap SinghDesktop Applications SpecialistCommented:
This is not possible because many collections are query based. They populate automatically.

eg, some collections will dynamically add computers which have office 2013 installed on them. Others will show which have an IP address between 10.1.1.1 to 10.1.1.6. Others will add computers which are in a special OU. The only way to fill these collections is to check the query and then make PC a part of it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.