taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
691 stars 86 forks source link

ERROR: deviceusers is not a valid argument for "gam print" #321

Closed qroberts709 closed 1 year ago

qroberts709 commented 1 year ago

When attempting to run the command gam print deviceusers as per the documentation here https://github.com/taers232c/GAMADV-XTD3/wiki/Cloud-Identity-Devices#print-device-users I get an error ERROR: deviceusers is not a valid argument for "gam print"

taers232c commented 1 year ago

Show: gam version

On Tue, Jan 10, 2023 at 12:48 PM qroberts709 @.***> wrote:

When attempting to run the command gam print deviceusers as per the documentation here https://github.com/taers232c/GAMADV-XTD3/wiki/Cloud-Identity-Devices#print-device-users I get an error ERROR: deviceusers is not a valid argument for "gam print"

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/321, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL7MIZQMVK4Q24JHVJ3WRXDLLANCNFSM6AAAAAATXH7NUY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

qroberts709 commented 1 year ago

PS C:\GAMADV-XTD3> gam version GAM 6.31 - https://jaylee.us/gam - pyinstaller Jay Lee jay0lee@gmail.com Python 3.11.0 64-bit final google-api-python-client 2.66.0 Windows 10 10.0.19044 SP0 Multiprocessor Free AMD64 Path: C:\GAM

taers232c commented 1 year ago

That's Standard GAM, not Advanced GAM.

Send a Meet/Zoom invitation to me at ross.scroggs @ gmail.com

Ross

On Tue, Jan 10, 2023 at 1:08 PM qroberts709 @.***> wrote:

PS C:\GAMADV-XTD3> gam version GAM 6.31 - https://jaylee.us/gam - pyinstaller Jay Lee @.*** Python 3.11.0 64-bit final google-api-python-client 2.66.0 Windows 10 10.0.19044 SP0 Multiprocessor Free AMD64 Path: C:\GAM

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/321#issuecomment-1377856200, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL3BK7X32RP6WYPJFALWRXFWRANCNFSM6AAAAAATXH7NUY . You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***

qroberts709 commented 1 year ago

Thanks Ross.

I neglected to run the gam.exe that was in C:\GAMADV-XTD3 (even though my working directory was that) as my system environment variable for PATH was pointing to C:\GAM not C:\GAMADV-XTD3 and by changing the path to C:\GAMADV-XTD3 worked. Also would have worked if I ran PS C:\GAMADV-XTD3> .\gam.exe print deviceusers