SyntaxFix
Write A Post
Hire A Developer
Questions
You want to do $arrayOfString[0].Title -eq $myPbiject.item(0).Title
$arrayOfString[0].Title -eq $myPbiject.item(0).Title
-match is for regex matching ( the second argument is a regex )
-match