IF item $true - create a new collection

This topic contains 2 replies, has 2 voices, and was last updated by  Jason Wheeler 2 years, 6 months ago.

  • Author
    Posts
  • #23516

    Jason Wheeler
    Participant

    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

  • #23518

    Daniel Krebs
    Moderator

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

    Thanks
    Daniel

  • #23519

    Jason Wheeler
    Participant

    Nevermind...

    I figured out what I was trying to do

    o.O

You must be logged in to reply to this topic.