Skip to content

Get GAChromeosdevice

Spencer Varney edited this page Dec 27, 2016 · 3 revisions

Get-GAChromeosdevice

SYNOPSIS

Retrieve Chrome OS Device(s)

SYNTAX

One (Default)

Get-GAChromeosdevice [[-CustomerId] <String>] [-DeviceId] <String> [[-OrderBy] <OrderByEnum>]
 [[-Projection] <ProjectionEnum>] [[-Query] <String>] [[-SortOrder] <SortOrderEnum>]
 [-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf] [-Confirm]

List

Get-GAChromeosdevice [[-CustomerId] <String>] [-All] [[-MaxResults] <Int32>] [[-OrderBy] <OrderByEnum>]
 [[-Projection] <ProjectionEnum>] [[-Query] <String>] [[-SortOrder] <SortOrderEnum>]
 [-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf] [-Confirm]

DESCRIPTION

Retrieve Chrome OS Device(s)

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> Get-GAChromeosdevice -DeviceId $SomeDeviceIdString

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

---------- EXAMPLE 2 ----------

PS C:\> List-GAChromeosdevice -All

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

PARAMETERS

-CustomerId

Immutable id of the Google Apps account

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DeviceId

Immutable id of Chrome OS Device

Type: String
Parameter Sets: One
Aliases: 

Required: True
Position: 2
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-All

A switch to list all results.

Type: SwitchParameter
Parameter Sets: List
Aliases: 

Required: True
Position: 3
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-MaxResults

Maximum number of results to return. Default is 100

Type: Int32
Parameter Sets: List
Aliases: 

Required: False
Position: 4
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-OrderBy

Column to use for sorting results

Possible values: AnnotatedLocation, AnnotatedUser, LastSync, Notes, SerialNumber, Status, SupportEndDate

Type: OrderByEnum
Parameter Sets: (All)
Aliases: 
Accepted values: AnnotatedLocation, AnnotatedUser, LastSync, Notes, SerialNumber, Status, SupportEndDate

Required: False
Position: 5
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Projection

Restrict information returned to a set of selected fields.

Possible values: BASIC, FULL

Type: ProjectionEnum
Parameter Sets: (All)
Aliases: 
Accepted values: BASIC, FULL

Required: False
Position: 6
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Query

Search string in the format given at https://support.google.com/chrome/a/answer/1698333

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 7
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-SortOrder

Whether to return results in ascending or descending order. Only of use when orderBy is also used

Possible values: ASCENDING, DESCENDING

Type: SortOrderEnum
Parameter Sets: (All)
Aliases: 
Accepted values: ASCENDING, DESCENDING

Required: False
Position: 8
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-StandardQueryParams

A Standard Query Parameters Object.

Type: StandardQueryParameters
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-GAuthId

The GAuthId representing the gShell auth credentials this cmdlet should use to run.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

System.String

Immutable id of the Google Apps account

System.String

Immutable id of Chrome OS Device

System.Int32

Maximum number of results to return. Default is 100

Google.Apis.admin.Directory.directory_v1.ChromeosdevicesResource+ListRequest+OrderByEnum

Column to use for sorting results

Google.Apis.admin.Directory.directory_v1.ChromeosdevicesResource+ListRequest+ProjectionEnum

Restrict information returned to a set of selected fields.

System.String

Search string in the format given at https://support.google.com/chrome/a/answer/1698333

Google.Apis.admin.Directory.directory_v1.ChromeosdevicesResource+ListRequest+SortOrderEnum

Whether to return results in ascending or descending order. Only of use when orderBy is also used

OUTPUTS

NOTES

Part of the gShell Project, relating to the Google Directory API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally