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 67 forks source link

Get-GSUserLicense CatchAll parameter #296

Open lucafabbri365 opened 4 years ago

lucafabbri365 commented 4 years ago

Hello, please, add the CheckAll parameter (ref. #270) to psgsuite.io documentation (link: Get-GSUserLicense).

Thank you, Luca

scrthq commented 4 years ago

Thanks, @lucafabbri365 ! For context now -- without specifying a license SKU, Get-GSUserLicense iterates through each license SKU until it finds a match, at which point it returns immediately. If you include -CheckAll, it continues checking each SKU instead to find all licenses assigned to users. Most users will typically have a single license assigned, but using -CheckAll is recommended when working with domains that regularly assign multiple licenses to users (e.g. adding an additional storage tier).

scrthq commented 4 years ago

That being said, I'll need to see why the Docs site doesn't list the additional parameter help. It's on the function help:

image

FISHMANPET commented 2 years ago

I'll take a look at this when we do the next release and see what's going on.