Forum Discussion

px091's avatar
px091
Iron Contributor
Dec 07, 2021

Get-csOnlineLisSubnet | Export-csv not working

I am trying to retrieve all subnet information using the cmdlet. Get-csOnlineLisSubnet. this will give me a list of subnets. But when I tried to export it to csv using the folowing cmdlet, no subnets information are exported successfully 

 

Get-csOnlineLisSubnet | Export-csv c:\temp\subnets.csv

 

Thanks in advance

    • px091's avatar
      px091
      Iron Contributor
      Andres, here is the info from output csv file

      #TYPE Deserialized.System.Collections.Generic.List`1[[System.Management.Automation.PSObject System.Management.Automation Version=3.0.0.0 Culture=neutral PublicKeyToken=31bf3856ad364e35]]
      PSComputerName RunspaceId PSShowComputerName Capacity Count IsFixedSize IsReadOnly IsSynchronized SyncRoot
      api.interfaces.records.teams.microsoft.com 7de3aa65-628c-4971-90ca-73933355b8d1 FALSE 128 123 FALSE FALSE FALSE System.Object




      • I tried the exact same command as you and, this is what I get:

        "Description","LocationId","Subnet"
        "","12afd15f-81bb-4307-8cc0-7e3143066d8c","10.10.10.128"

        What is the version of the Teams module you are using?

Resources