Listing all calendar resources (ID)

3,141 views
Skip to first unread message

Schmidt, Randal

unread,
Feb 27, 2012, 12:32:35 PM2/27/12
to google-ap...@googlegroups.com
Does anyone know how to do this with GAM?  I can list an individual resource IF I know the resource ID (which for me is a wierd number with hyphens in it).  I can see the gdata API can produce an XML feed of all resources but I cannot determine how to get a list of all the resource ID's through GAM for a domain.

Randy Schmidt

IT Operations - BCP Specialist

-----------------------------------------------------------

Direct 641-357-2710 ext 2229

 

TeamQuest Corporation

641-357-2700

teamquest.com | LinkedIn | ITSO Blog

------------------------------------------------------------

Specializing in IT Capacity Management


Jay Lee

unread,
Feb 27, 2012, 1:49:42 PM2/27/12
to google-ap...@googlegroups.com
http://code.google.com/p/google-apps-manager/wiki/ExamplesCSV#Print_All_Resource_Calendars 

Try:

gam print resources id email

to get the details you need. Also, if you're not already, make sure you've upgraded to GAM 2.2 released last week.

Jay



--
You received this message because you are subscribed to the "Google Apps Manager" group.
To post to this group, send email to
google-ap...@googlegroups.com
To unsubscribe from this group, send email to
google-apps-man...@googlegroups.com
For more options, visit this group at
https://groups.google.com/forum/#!forum/google-apps-manager

Schmidt, Randal

unread,
Feb 27, 2012, 1:56:15 PM2/27/12
to google-ap...@googlegroups.com
I am using 2.2 already.  Your suggestion does not work:

C:\Scripts\gam>gam version
Google Apps Manager 2.2
Python 2.7.2 final
Windows-7-6.1.7601-SP1 AMD64

C:\Scripts\gam>gam print resources id mail
Google Apps Manager 2.2
Python 2.7.2 final
Windows-7-6.1.7601-SP1 AMD64

Usage: gam [OPTIONS]...

Google Apps Manager. Retrieve or set Google Apps domain,
user, group and alias settings. Exhaustive list of commands

Examples:
gam info domain
gam create user jsmith firstname John lastname Smith password secretpass
gam update user jsmith suspended on
gam.exe update group announcements add member jsmith
...

Randy Schmidt

IT Operations - BCP Specialist

-----------------------------------------------------------

Direct 641-357-2710 ext 2229

 

TeamQuest Corporation

641-357-2700

teamquest.com | LinkedIn | ITSO Blog

------------------------------------------------------------

Specializing in IT Capacity Management




Paul Guest

unread,
Feb 27, 2012, 1:57:58 PM2/27/12
to google-ap...@googlegroups.com
I got it to work. I noticed your command ended in "mail" as opposed to "email". Was that a typo or the way you actually entered it?


Schmidt, Randal

unread,
Feb 27, 2012, 2:02:52 PM2/27/12
to google-ap...@googlegroups.com
Now what you suggested is working all of a sudden.  Maybe I fat fingered something.  I can now get what I need with:

gam print resources id mail description

I had embedded the conference room phone number in the description.  Now I can pipe it out and read it in VBscript (for parsing) and add it to contacts on our iPhones,

GAM is a really COOL tool!  My thanks.

Randy Schmidt

IT Operations - BCP Specialist

-----------------------------------------------------------

Direct 641-357-2710 ext 2229

 

TeamQuest Corporation

641-357-2700

teamquest.com | LinkedIn | ITSO Blog

------------------------------------------------------------

Specializing in IT Capacity Management




On Mon, Feb 27, 2012 at 12:49 PM, Jay Lee <jay...@gmail.com> wrote:

Schmidt, Randal

unread,
Feb 27, 2012, 2:05:32 PM2/27/12
to google-ap...@googlegroups.com
My typo.  See my most recent response.

GAM ROCKS!


Randy Schmidt

IT Operations - BCP Specialist

-----------------------------------------------------------

Direct 641-357-2710 ext 2229

 

TeamQuest Corporation

641-357-2700

teamquest.com | LinkedIn | ITSO Blog

------------------------------------------------------------

Specializing in IT Capacity Management




Reply all
Reply to author
Forward
0 new messages