How to validate powershell conditional syntax?
Is there a syntax checker for conditionals in PowerShell? This code will skip the conditional if ($templList -ne $null -and $templList.items.Length > 0) { $templID=$templList.items[0].id write-host $templList.items } because the '-gt' is substituted with '>'.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.