Legacy Dev Forum Posts

 View Only

Sign Up

Extracting Licenses for Users using PowerShell Scripts

  • 1.  Extracting Licenses for Users using PowerShell Scripts

    Posted 06-05-2025 18:29

    Jason_Lorden | 2023-12-05 14:43:20 UTC | #1

    Hi Everyone,

    I am trying to get a list of licenses by users using PowerShell.

    This is my code: gc.exe license users list -a | ConvertFrom-Json | Write-Output | Select-Object id, licenses | export-csv C:\Genesys\Licenses.csv

    When I run the code I get all the ID's, but the licenses come back as System.Object[]

    Can anyone tell me how to update my code to be able to pull back all the licenses by ID?

    Thanks in advance!


    system | 2024-01-04 14:44:11 UTC | #2

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 23520