SCRT-HQ / PSGSuite

Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
https://psgsuite.io/
Apache License 2.0
234 stars 68 forks source link

Update license skus and products #383

Open Buenno opened 10 months ago

Buenno commented 10 months ago

A number of license names (products) and SKUs have changed since GSuite was rebranded to Workspace, therefore a majority of the license functions failed as the products and SKUs were not recognised by the API. I have updated all of the product and SKU information to reflect the rebranding, and retained the aliases where possible.

I also noticed that Get-GSUserLicense -User user.name would fail to return any data if the -CheckAll parameter was omitted and a license match was found. I've have fixed this by returning the API response.

jeffrey-github12 commented 9 months ago

@FISHMANPET apologies for bothering you, but if it's not too much trouble and you think it seems reasonable, would you mind approving and merging this pull request (as well as possibly reviewing some of the other open pull requests for approval consideration that fix other issues such as this one https://github.com/SCRT-HQ/PSGSuite/pull/377)?

I've used this PowerShell module in the past and really appreciate the amount of effort that scrthq, you, and the other developers have put in! I could manually fork / edit the code to incorporate some of these pull request fixes / improvements that other users have submitted, but I figured I'd try reaching out to you since I see you were the last person to approve a pull request and it would hopefully help other users more easily benefit from the fixes / improvements being officially merged.