Forum Discussion

JFM_12's avatar
JFM_12
Iron Contributor
Feb 20, 2025
Solved

CQ - Powershell for Output

Hi

I have a Powershell that outputs the data.

The output of "DistributionLists" is on screen correct.
If exported on the File it is "System.Guid[]"
How can the "System.Guid[]" be translated in a real Guid and not "System.Guid[]".
Thanks for your answer
JFM_12

  • If it work it would be good if you click on 'accept as response'

    • Luis-Ramos's avatar
      Luis-Ramos
      Brass Contributor

      If it work it would be good if you click on 'accept as response'

  • Luis-Ramos's avatar
    Luis-Ramos
    Brass Contributor

    have you tried to use the toString Method ?
    $DistributionLists | ForEach-Object { $_.ToString() }

Resources