Loop logic results in infinite loop
mnorrisbrcm opened this issue · 0 comments
mnorrisbrcm commented
SDN/SDNExpress/scripts/SDNExpressModule.psm1
Line 330 in cdf54d5
I found that the loop logic here causes an infinite loop unless all found Dns Server addresses resolve to the $RestName. If they don't then it will loop forever. The logic works if you use -and ($count -lt 30). Due to the -or the conditions will never both be false unless the name resolved.