basically, do this: https://jdhitsolutions.com/blog/powershell/7937/creating-powershell-property-names/ take care of nested objects take care of including the original network object in the returned object