Skip to content

New GAUserOrganizationObj

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

New-GAUserOrganizationObj

SYNOPSIS

Creates a new Directory API UserOrganization object.

SYNTAX

New-GAUserOrganizationObj [[-CostCenter] <String>] [[-CustomType] <String>] [[-Department] <String>]
 [[-Description] <String>] [[-Domain] <String>] [[-Location] <String>] [[-Name] <String>]
 [[-Primary] <Boolean>] [[-Symbol] <String>] [[-Title] <String>] [[-Type] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

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

You could alternately create this object by calling New-Object -TypeName Google.Apis.admin.Directory.directory_v1.Data.UserOrganization

EXAMPLES

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

PS C:\> New-GAUserOrganizationObj

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

-CostCenter

The cost center of the users department.

Type: String
Parameter Sets: (All)
Aliases: 

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

-CustomType

Custom type.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Department

Department within the organization.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Description

Description of the organization.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Domain

The domain to which the organization belongs to.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Location

Location of the organization. This need not be fully qualified address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Name

Name of the organization

Type: String
Parameter Sets: (All)
Aliases: 

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

-Primary

If it user's primary organization.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-Symbol

Symbol of the organization.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Title

Title (designation) of the user in the organization.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Type

Each entry can have a type which indicates standard types of that entry. For example organization could be of school, work etc. In addition to the standard type, an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a CustomType value.

Type: String
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

The cost center of the users department.

System.String

Custom type.

System.String

Department within the organization.

System.String

Description of the organization.

System.String

The domain to which the organization belongs to.

System.String

Location of the organization. This need not be fully qualified address.

System.String

Name of the organization

System.Boolean

If it user's primary organization.

System.String

Symbol of the organization.

System.String

Title (designation) of the user in the organization.

System.String

Each entry can have a type which indicates standard types of that entry. For example organization could be of school, work etc. In addition to the standard type, an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a CustomType value.

OUTPUTS

Google.Apis.admin.Directory.directory_v1.Data.UserOrganization

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