which displays a nice list of routes
like 10.0.0.2,255.255.0.0,169.30.1.1,1
however my csv only contains the $routes.Length property. I’m really bad with tables and arrays and not sure why instead of coma separated values I get only one value which is Length. Could someone explain what’s going on in the script so I understand why I’m not getting what I expect?
Thanks Chris for great explanation. I see you use the PSCustomObject in a quite different way than the Scripting Guy does and to me less confusing. The 2-liner makes things even easier.