Get-Subnet, a PowerShell advanced function