Welcome › Forums › General PowerShell Q&A › IF item $true - create a new collection
This topic contains 2 replies, has 2 voices, and was last updated by
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
Do you have code we can look at? If yes, please post using the pre tags or attach as text file.
I figured out what I was trying to do
The topic ‘IF item $true - create a new collection’ is closed to new replies.