Forum Discussion
Robert Woods
Aug 14, 2019Iron Contributor
Azure Runbook if statement does not work
In the last part of the below code block the if statement is not evaluated. The user is always added to the team no matter what the company name is. Any suggestions? Param(
[string]$teamnam...
Robert Woods
Aug 14, 2019Iron Contributor
I figured it out. I had to use -eq instead of = since I was evaluating the variable instead of assigning to it.