IF item $true - create a new collection

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Jason Wheeler Jason Wheeler 1 year, 8 months ago.

  • Author
    Posts
  • #23516
    Profile photo of Jason Wheeler
    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
    Profile photo of Daniel Krebs
    Daniel Krebs
    Participant

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

    Thanks
    Daniel

  • #23519
    Profile photo of Jason Wheeler
    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.