May 03 2017 05:44 AM - edited May 08 2017 01:42 AM
Im using the following code to add properties to an object
$ten = Get-MsolCompanyInformation -TenantId $tenantItem $objTenantData = New-Object -TypeName system.object $objTenantData | Add-Member -Type NoteProperty -Name AuthorizedServiceInstances -value $ten.AuthorizedServiceInstances
The problem is that some of the properties of the MsolCompanyInformation are lists (System.Collections.Generic.List[string])
I need help to get the contents of that list into $objTenantData as text.
Can you help me?
/Mats
May 08 2017 06:48 PM
SolutionMay 08 2017 06:48 PM
Solution