Skip to content

Get GRepCustomerUsageReport

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

Get-GRepCustomerUsageReport

SYNOPSIS

Retrieves a report which is a collection of properties / statistics for a specific customer.

SYNTAX

datetime (Default)

Get-GRepCustomerUsageReport [-Date] <DateTime> [[-CustomerId] <String>] [[-Parameters] <String>]
 [[-MaxResults] <Int32>] [-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf]
 [-Confirm]

datestring

Get-GRepCustomerUsageReport [-DateString] <String> [[-CustomerId] <String>] [[-Parameters] <String>]
 [[-MaxResults] <Int32>] [-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf]
 [-Confirm]

DESCRIPTION

Retrieves a report which is a collection of properties / statistics for a specific customer.

EXAMPLES

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

PS C:\> Get-GRepCustomerUsageReport -Date $SomeDateString

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

-DateString

Represents the date in yyyy-mm-dd format for which the data is to be fetched.

Type: String
Parameter Sets: datestring
Aliases: 

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

-Date

DateTime object for which the data is to be fetched.

Type: DateTime
Parameter Sets: datetime
Aliases: 

Required: True
Position: 0
Default value: 1/1/0001 12:00:00 AM
Accept pipeline input: False
Accept wildcard characters: False

-CustomerId

Represents the customer for which the data is to be fetched.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Parameters

Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.

Type: String
Parameter Sets: (All)
Aliases: 

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

-MaxResults

Maximum number of results to return. Maximum allowed is 1000

Type: Int32
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: 
Accept pipeline input: False
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

Represents the customer for which the data is to be fetched.

System.String

Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.

OUTPUTS

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally