Is your item contained or in an array? If your PowerShell membership check keeps failing, you might have it backwards. New PoshBytes explains it clearly in under 90 seconds.

https://youtube.com/shorts/CpU3G7yWAZc

#PowerShell #Automation #Scripting #DevOps

PoshBytes: Is it Contained or In an Array?

YouTube
@mdowst "Check containment, not membership, if you're working with arrays in PowerShell."