< Back

New-PersonObject

Sat Jan 18, 2020 12:43 pm

NAME New-PersonObject



SYNOPSIS

Creates a new object which represents a "microsoft.graph.person" (or one of its derived types).





SYNTAX

New-PersonObject [-birthday <string>] [-companyName <string>] [-department <string>] [-displayName <string>]

[-givenName <string>] [-imAddress <string>] [-isFavorite <bool>] [-jobTitle <string>] [-officeLocation <string>]

[-personNotes <string>] [-personType <object>] [-phones <object[]>] [-postalAddresses <object[]>] [-profession

<string>] [-scoredEmailAddresses <object[]>] [-surname <string>] [-userPrincipalName <string>] [-websites

<object[]>] [-yomiCompany <string>] [<CommonParameters>]





DESCRIPTION

Creates a new object which represents a "microsoft.graph.person" (or one of its derived types).





PARAMETERS

-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-givenName <string>

The "givenName" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-surname <string>

The "surname" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-birthday <string>

The "birthday" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-personNotes <string>

The "personNotes" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-isFavorite <bool>

The "isFavorite" property, of type "Edm.Boolean".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-scoredEmailAddresses <object[]>

The "scoredEmailAddresses" property, of type "microsoft.graph.scoredEmailAddress".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-phones <object[]>

The "phones" property, of type "microsoft.graph.phone".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-postalAddresses <object[]>

The "postalAddresses" property, of type "microsoft.graph.location".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-websites <object[]>

The "websites" property, of type "microsoft.graph.website".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-jobTitle <string>

The "jobTitle" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-companyName <string>

The "companyName" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-yomiCompany <string>

The "yomiCompany" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-department <string>

The "department" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-officeLocation <string>

The "officeLocation" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-profession <string>

The "profession" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-personType <object>

The "personType" property, of type "microsoft.graph.personType".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-userPrincipalName <string>

The "userPrincipalName" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-imAddress <string>

The "imAddress" property, of type "Edm.String".



This property is on the "microsoft.graph.person" type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS