admin管理员组

文章数量:1305276

I have been trying for hours to update phone numbers for my users. We have over 2100 that need to be done. I have read the docs, cheat sheets, forums etc. I have even tried AI to help.

PS C:\GAM7> gam update user [email protected] phone other:+2075551212
Command: C:\GAM7\gam.exe update user [email protected] phone >>>other:+2075551212<<<

ERROR: Invalid argument
Help: Syntax in file C:\GAM7\GamCommands.txt
Help: Documentation is at 
PS C:\GAM7> gam update user [email protected] phone +2075551212
Command: C:\GAM7\gam.exe update user [email protected] phone >>>+2075551212<<<

ERROR: Invalid argument
Help: Syntax in file C:\GAM7\GamCommands.txt
Help: Documentation is at 
PS C:\GAM7> gam update user [email protected] phone "other:+2075551212"
Command: C:\GAM7\gam.exe update user [email protected] phone >>>other:+2075551212<<<

ERROR: Invalid argument
Help: Syntax in file C:\GAM7\GamCommands.txt
Help: Documentation is at 
PS C:\GAM7> gam update user [email protected] phone "2075551212"
Command: C:\GAM7\gam.exe update user [email protected] phone >>>2075551212<<<

ERROR: Invalid argument
Help: Syntax in file C:\GAM7\GamCommands.txt
Help: Documentation is at 
PS C:\GAM7> gam update user [email protected] phone "812 531 8262"
Command: C:\GAM7\gam.exe update user [email protected] phone >>>"812 531 8262"<<<

ERROR: Invalid argument
Help: Syntax in file C:\GAM7\GamCommands.txt
Help: Documentation is at 
PS C:\GAM7> gam update user [email protected] phone "8125318262"
Command: C:\GAM7\gam.exe update user [email protected] phone >>>8125318262<<<

ERROR: Invalid argument
Help: Syntax in file C:\GAM7\GamCommands.txt
Help: Documentation is at 
PS C:\GAM7>


What am I missing?

I would expect the phone to update on the user.

本文标签: powershellGAM7 Updating users phone Stack Overflow