IF item $true - create a new collection

Hi all,
First time posting, trying to do something that I’m sure I already know how but I’m brain farting it right now…

I have a collection, I want to iterate through that collection and IF the item.property -eq $true, I want to add that item to another collection

Thanks in advance
Jas

Do you have code we can look at? If yes, please post using the pre tags or attach as text file.

Thanks
Daniel

Nevermind…

I figured out what I was trying to do

o.O