I’m making a new Powershell inventory script. I already have one, but I’m fiddling with the arrays to see if I can make the code a little prettier. I can make variables that have custom members with ...
Use the Scriptblock `{$_ -as [version]} to sort an array of IPv4 addresses. Running these commands should result in a sorted list.