Skip to content
Spencer Varney edited this page Jul 20, 2016 · 3 revisions

###Custom Objects in gShell

When you call a gShell Cmdlet that returns an object, what you're going to get is usually a custom object either created for gShell or the API it's based upon. Occasionally these objects will have certain properties you should probably know about, or even some custom methods that can be very helpful. See below for a listing of all the primary custom objects.

Note: This will not discuss the obvious members of the objects. For instance, it's clear that a GAUser object has the first and last name properties. Plus, you can always do your own investigations by using Get-Member!

##Update

As of release 0.0.9.0 I've stopped doing custom objects for all of the new cmdlets. This is primarily due to the huge amount of work that would need to be done to manually analyze all of the APIs and their endpoints. That's not to say there isn't a case for it, however. If you find there is a niche need for a custom object elsewhere, please feel free to hit me up in the Discussion Groups. Chances are though you may be better off with some custom functions and code of your own.

Clone this wiki locally