Im using the Auvik Powershell module and the return of some of the commands have some multi-values in them.
What's the best way to turn this into a single value object.
type id attributes
---- -- ----------
tenant 53337108651709 @{domainPrefix=50waters; tenantType=client}
tenant 58897678651709 @{domainPrefix=BillAve; tenantType=client}
========================================================= Like this======
type id domain prefix tenant type
---- ---- ---- ------
tenant 58897678651709 BillAve client
tenant 53337108651709 50waters client
attributesproperty to build an object with those props added to it, and - finally - send that new object to your new collection.