Skip to content
Spencer Varney edited this page Dec 9, 2016 · 2 revisions

New-GCalendarObj

SYNOPSIS

Creates a new Calendar API Calendar object.

SYNTAX

New-GCalendarObj [[-Description] <String>] [[-Id] <String>] [[-Location] <String>] [[-Summary] <String>]
 [[-TimeZone] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a Calendar object which may be required as a parameter for some other Cmdlets in the Calendar API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.Calendar.v3.Data.Calendar

EXAMPLES

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

PS C:\> New-GCalendarObj

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

-Description

Description of the calendar. Optional.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Id

Identifier of the calendar. To retrieve IDs call the calendarList.list() method.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Location

Geographic location of the calendar as free-form text. Optional.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Summary

Title of the calendar.

Type: String
Parameter Sets: (All)
Aliases: 

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

-TimeZone

The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional.

Type: String
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

Description of the calendar. Optional.

System.String

Identifier of the calendar. To retrieve IDs call the calendarList.list() method.

System.String

Geographic location of the calendar as free-form text. Optional.

System.String

Title of the calendar.

System.String

The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional.

OUTPUTS

Google.Apis.Calendar.v3.Data.Calendar

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally