Update Convert-NetstatToSV.ps1

Refactored for shared code.