exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get extensions from users .Description Get extensions from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactextension .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension .Outputs System.String .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactextension #> function Get-MgUserContactExtension { [OutputType([System.String], [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: extension-id of extension ${ExtensionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactExtension_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactExtension_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactExtension_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get childFolders from users .Description Get childFolders from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfolderchildfolder .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfolderchildfolder #> function Get-MgUserContactFolderChildFolder { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId1}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderChildFolder_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderChildFolder_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderChildFolder_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get extensions from users .Description Get extensions from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactextension .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension .Outputs System.String .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactextension #> function Get-MgUserContactFolderContactExtension { [OutputType([System.String], [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: extension-id of extension ${ExtensionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactExtension_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactExtension_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactExtension_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get multiValueExtendedProperties from users .Description Get multiValueExtendedProperties from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactmultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactmultivalueextendedproperty #> function Get-MgUserContactFolderContactMultiValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty ${MultiValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactMultiValueExtendedProperty_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactMultiValueExtendedProperty_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactMultiValueExtendedProperty_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get photo from users .Description Get photo from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactphoto .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactphoto #> function Get-MgUserContactFolderContactPhoto { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactPhoto_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactPhoto_GetViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get singleValueExtendedProperties from users .Description Get singleValueExtendedProperties from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactsinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontactsinglevalueextendedproperty #> function Get-MgUserContactFolderContactSingleValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty ${SingleValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactSingleValueExtendedProperty_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactSingleValueExtendedProperty_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContactSingleValueExtendedProperty_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get contacts from users .Description Get contacts from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontact .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldercontact #> function Get-MgUserContactFolderContact { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContact_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContact_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderContact_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get multiValueExtendedProperties from users .Description Get multiValueExtendedProperties from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldermultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldermultivalueextendedproperty #> function Get-MgUserContactFolderMultiValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty ${MultiValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderMultiValueExtendedProperty_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderMultiValueExtendedProperty_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderMultiValueExtendedProperty_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get singleValueExtendedProperties from users .Description Get singleValueExtendedProperties from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldersinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfoldersinglevalueextendedproperty #> function Get-MgUserContactFolderSingleValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty ${SingleValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderSingleValueExtendedProperty_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderSingleValueExtendedProperty_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolderSingleValueExtendedProperty_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get contactFolders from users .Description Get contactFolders from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfolder .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactfolder #> function Get-MgUserContactFolder { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolder_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolder_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactFolder_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get multiValueExtendedProperties from users .Description Get multiValueExtendedProperties from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactmultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactmultivalueextendedproperty #> function Get-MgUserContactMultiValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty ${MultiValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactMultiValueExtendedProperty_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactMultiValueExtendedProperty_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactMultiValueExtendedProperty_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get photo from users .Description Get photo from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactphoto .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactphoto #> function Get-MgUserContactPhoto { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactPhoto_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactPhoto_GetViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get singleValueExtendedProperties from users .Description Get singleValueExtendedProperties from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactsinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontactsinglevalueextendedproperty #> function Get-MgUserContactSingleValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty ${SingleValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${Expand}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactSingleValueExtendedProperty_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactSingleValueExtendedProperty_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContactSingleValueExtendedProperty_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get contacts from users .Description Get contacts from users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontact .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/get-mgusercontact #> function Get-MgUserContact { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Select}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Orderby}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContact_Get'; GetViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContact_GetViaIdentity'; List = 'Microsoft.Graph.Users.Contacts.private\Get-MgUserContact_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to extensions for users .Description Create new navigation property to extensions for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactextension .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.String .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExtension>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactextension #> function New-MgUserContactExtension { [OutputType([System.String])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactExtension_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactExtension_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactExtension_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactExtension_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to childFolders for users .Description Create new navigation property to childFolders for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfolderchildfolder .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContactFolder>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CHILDFOLDERS <IMicrosoftGraphContactFolder[]>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CONTACTS <IMicrosoftGraphContact[]>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfolderchildfolder #> function New-MgUserContactFolderChildFolder { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CHILDFOLDERS properties and create a hash table. ${ChildFolders}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CONTACTS properties and create a hash table. ${Contacts}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${WellKnownName}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderChildFolder_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderChildFolder_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderChildFolder_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderChildFolder_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to extensions for users .Description Create new navigation property to extensions for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontactextension .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.String .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExtension>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontactextension #> function New-MgUserContactFolderContactExtension { [OutputType([System.String])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactExtension_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactExtension_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactExtension_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactExtension_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to multiValueExtendedProperties for users .Description Create new navigation property to multiValueExtendedProperties for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontactmultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphMultiValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontactmultivalueextendedproperty #> function New-MgUserContactFolderContactMultiValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactMultiValueExtendedProperty_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactMultiValueExtendedProperty_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactMultiValueExtendedProperty_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactMultiValueExtendedProperty_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to singleValueExtendedProperties for users .Description Create new navigation property to singleValueExtendedProperties for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontactsinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSingleValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontactsinglevalueextendedproperty #> function New-MgUserContactFolderContactSingleValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactSingleValueExtendedProperty_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactSingleValueExtendedProperty_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactSingleValueExtendedProperty_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContactSingleValueExtendedProperty_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to contacts for users .Description Create new navigation property to contacts for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontact .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContact>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: EMAILADDRESSES <IMicrosoftGraphTypedEmailAddress[]>: HELP MESSAGE MISSING [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType EXTENSIONS <IMicrosoftGraphExtension[]>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: PHONES <IMicrosoftGraphPhone[]>: HELP MESSAGE MISSING [Number <String>]: [Type <String>]: phoneType POSTALADDRESSES <IMicrosoftGraphPhysicalAddress[]>: HELP MESSAGE MISSING [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: WEBSITES <IMicrosoftGraphWebsite[]>: HELP MESSAGE MISSING [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldercontact #> function New-MgUserContactFolderContact { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${AssistantName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${Birthday}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Categories}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ChangeKey}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Children}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompanyName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${CreatedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Department}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTypedEmailAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EMAILADDRESSES properties and create a hash table. ${EmailAddresses}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EXTENSIONS properties and create a hash table. ${Extensions}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${FileAs}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # followupFlagStatus ${FlagStatus}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Gender}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Generation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${GivenName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${ImAddresses}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Initials}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # HELP MESSAGE MISSING ${IsFavorite}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${JobTitle}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Manager}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${MiddleName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${NickName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${OfficeLocation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PersonalNotes}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhone[]] # HELP MESSAGE MISSING # To construct, see NOTES section for PHONES properties and create a hash table. ${Phones}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoHeight}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PhotoId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoWidth}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhysicalAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for POSTALADDRESSES properties and create a hash table. ${PostalAddresses}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Profession}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${SpouseName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Surname}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Title}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphWebsite[]] # HELP MESSAGE MISSING # To construct, see NOTES section for WEBSITES properties and create a hash table. ${Websites}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${WeddingAnniversary}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiCompanyName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiGivenName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiSurname}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContact_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContact_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContact_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderContact_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to multiValueExtendedProperties for users .Description Create new navigation property to multiValueExtendedProperties for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldermultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphMultiValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldermultivalueextendedproperty #> function New-MgUserContactFolderMultiValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderMultiValueExtendedProperty_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderMultiValueExtendedProperty_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderMultiValueExtendedProperty_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderMultiValueExtendedProperty_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to singleValueExtendedProperties for users .Description Create new navigation property to singleValueExtendedProperties for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldersinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSingleValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfoldersinglevalueextendedproperty #> function New-MgUserContactFolderSingleValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderSingleValueExtendedProperty_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderSingleValueExtendedProperty_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderSingleValueExtendedProperty_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolderSingleValueExtendedProperty_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to contactFolders for users .Description Create new navigation property to contactFolders for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfolder .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContactFolder>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CHILDFOLDERS <IMicrosoftGraphContactFolder[]>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CONTACTS <IMicrosoftGraphContact[]>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactfolder #> function New-MgUserContactFolder { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CHILDFOLDERS properties and create a hash table. ${ChildFolders}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CONTACTS properties and create a hash table. ${Contacts}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${WellKnownName}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolder_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolder_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolder_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactFolder_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to multiValueExtendedProperties for users .Description Create new navigation property to multiValueExtendedProperties for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactmultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphMultiValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactmultivalueextendedproperty #> function New-MgUserContactMultiValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactMultiValueExtendedProperty_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactMultiValueExtendedProperty_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactMultiValueExtendedProperty_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactMultiValueExtendedProperty_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to singleValueExtendedProperties for users .Description Create new navigation property to singleValueExtendedProperties for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactsinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSingleValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontactsinglevalueextendedproperty #> function New-MgUserContactSingleValueExtendedProperty { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactSingleValueExtendedProperty_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactSingleValueExtendedProperty_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactSingleValueExtendedProperty_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContactSingleValueExtendedProperty_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to contacts for users .Description Create new navigation property to contacts for users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontact .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContact>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: EMAILADDRESSES <IMicrosoftGraphTypedEmailAddress[]>: HELP MESSAGE MISSING [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType EXTENSIONS <IMicrosoftGraphExtension[]>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: PHONES <IMicrosoftGraphPhone[]>: HELP MESSAGE MISSING [Number <String>]: [Type <String>]: phoneType POSTALADDRESSES <IMicrosoftGraphPhysicalAddress[]>: HELP MESSAGE MISSING [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: WEBSITES <IMicrosoftGraphWebsite[]>: HELP MESSAGE MISSING [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/new-mgusercontact #> function New-MgUserContact { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${AssistantName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${Birthday}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Categories}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ChangeKey}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Children}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompanyName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${CreatedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Department}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTypedEmailAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EMAILADDRESSES properties and create a hash table. ${EmailAddresses}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EXTENSIONS properties and create a hash table. ${Extensions}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${FileAs}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # followupFlagStatus ${FlagStatus}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Gender}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Generation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${GivenName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${ImAddresses}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Initials}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # HELP MESSAGE MISSING ${IsFavorite}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${JobTitle}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Manager}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${MiddleName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${NickName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${OfficeLocation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PersonalNotes}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhone[]] # HELP MESSAGE MISSING # To construct, see NOTES section for PHONES properties and create a hash table. ${Phones}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoHeight}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PhotoId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoWidth}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhysicalAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for POSTALADDRESSES properties and create a hash table. ${PostalAddresses}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Profession}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${SpouseName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Surname}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Title}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphWebsite[]] # HELP MESSAGE MISSING # To construct, see NOTES section for WEBSITES properties and create a hash table. ${Websites}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${WeddingAnniversary}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiCompanyName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiGivenName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiSurname}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContact_Create'; CreateExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContact_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContact_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\New-MgUserContact_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property extensions in users .Description Update the navigation property extensions in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactextension .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExtension>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactextension #> function Update-MgUserContactExtension { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: extension-id of extension ${ExtensionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactExtension_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactExtension_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactExtension_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactExtension_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property childFolders in users .Description Update the navigation property childFolders in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfolderchildfolder .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContactFolder>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CHILDFOLDERS <IMicrosoftGraphContactFolder[]>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CONTACTS <IMicrosoftGraphContact[]>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfolderchildfolder #> function Update-MgUserContactFolderChildFolder { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId1}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CHILDFOLDERS properties and create a hash table. ${ChildFolders}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CONTACTS properties and create a hash table. ${Contacts}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${WellKnownName}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderChildFolder_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderChildFolder_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderChildFolder_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderChildFolder_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property extensions in users .Description Update the navigation property extensions in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactextension .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExtension>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactextension #> function Update-MgUserContactFolderContactExtension { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: extension-id of extension ${ExtensionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactExtension_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactExtension_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactExtension_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactExtension_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property multiValueExtendedProperties in users .Description Update the navigation property multiValueExtendedProperties in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactmultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphMultiValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactmultivalueextendedproperty #> function Update-MgUserContactFolderContactMultiValueExtendedProperty { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty ${MultiValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactMultiValueExtendedProperty_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactMultiValueExtendedProperty_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactMultiValueExtendedProperty_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactMultiValueExtendedProperty_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property photo in users .Description Update the navigation property photo in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactphoto .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphProfilePhoto>: HELP MESSAGE MISSING [Id <String>]: [Height <Int32?>]: [Width <Int32?>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactphoto #> function Update-MgUserContactFolderContactPhoto { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${Height}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${Width}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactPhoto_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactPhoto_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactPhoto_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactPhoto_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property singleValueExtendedProperties in users .Description Update the navigation property singleValueExtendedProperties in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactsinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSingleValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontactsinglevalueextendedproperty #> function Update-MgUserContactFolderContactSingleValueExtendedProperty { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty ${SingleValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactSingleValueExtendedProperty_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactSingleValueExtendedProperty_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactSingleValueExtendedProperty_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContactSingleValueExtendedProperty_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property contacts in users .Description Update the navigation property contacts in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontact .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContact>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: EMAILADDRESSES <IMicrosoftGraphTypedEmailAddress[]>: HELP MESSAGE MISSING [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType EXTENSIONS <IMicrosoftGraphExtension[]>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: PHONES <IMicrosoftGraphPhone[]>: HELP MESSAGE MISSING [Number <String>]: [Type <String>]: phoneType POSTALADDRESSES <IMicrosoftGraphPhysicalAddress[]>: HELP MESSAGE MISSING [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: WEBSITES <IMicrosoftGraphWebsite[]>: HELP MESSAGE MISSING [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldercontact #> function Update-MgUserContactFolderContact { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${AssistantName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${Birthday}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Categories}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ChangeKey}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Children}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompanyName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${CreatedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Department}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTypedEmailAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EMAILADDRESSES properties and create a hash table. ${EmailAddresses}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EXTENSIONS properties and create a hash table. ${Extensions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${FileAs}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # followupFlagStatus ${FlagStatus}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Gender}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Generation}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${GivenName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${ImAddresses}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Initials}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # HELP MESSAGE MISSING ${IsFavorite}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${JobTitle}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Manager}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${MiddleName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${NickName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${OfficeLocation}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PersonalNotes}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhone[]] # HELP MESSAGE MISSING # To construct, see NOTES section for PHONES properties and create a hash table. ${Phones}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoHeight}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PhotoId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoWidth}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhysicalAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for POSTALADDRESSES properties and create a hash table. ${PostalAddresses}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Profession}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${SpouseName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Surname}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Title}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphWebsite[]] # HELP MESSAGE MISSING # To construct, see NOTES section for WEBSITES properties and create a hash table. ${Websites}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${WeddingAnniversary}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiCompanyName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiGivenName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiSurname}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContact_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContact_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContact_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderContact_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property multiValueExtendedProperties in users .Description Update the navigation property multiValueExtendedProperties in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldermultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphMultiValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldermultivalueextendedproperty #> function Update-MgUserContactFolderMultiValueExtendedProperty { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty ${MultiValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderMultiValueExtendedProperty_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderMultiValueExtendedProperty_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderMultiValueExtendedProperty_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderMultiValueExtendedProperty_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property singleValueExtendedProperties in users .Description Update the navigation property singleValueExtendedProperties in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldersinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSingleValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfoldersinglevalueextendedproperty #> function Update-MgUserContactFolderSingleValueExtendedProperty { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty ${SingleValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderSingleValueExtendedProperty_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderSingleValueExtendedProperty_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderSingleValueExtendedProperty_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolderSingleValueExtendedProperty_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property contactFolders in users .Description Update the navigation property contactFolders in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfolder .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContactFolder>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CHILDFOLDERS <IMicrosoftGraphContactFolder[]>: HELP MESSAGE MISSING [Id <String>]: [ChildFolders <IMicrosoftGraphContactFolder[]>]: [Contacts <IMicrosoftGraphContact[]>]: [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: [DisplayName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [ParentFolderId <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [WellKnownName <String>]: CONTACTS <IMicrosoftGraphContact[]>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactfolder #> function Update-MgUserContactFolder { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contactFolder-id of contactFolder ${ContactFolderId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContactFolder[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CHILDFOLDERS properties and create a hash table. ${ChildFolders}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact[]] # HELP MESSAGE MISSING # To construct, see NOTES section for CONTACTS properties and create a hash table. ${Contacts}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${WellKnownName}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolder_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolder_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolder_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactFolder_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property multiValueExtendedProperties in users .Description Update the navigation property multiValueExtendedProperties in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactmultivalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphMultiValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactmultivalueextendedproperty #> function Update-MgUserContactMultiValueExtendedProperty { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty ${MultiValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactMultiValueExtendedProperty_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactMultiValueExtendedProperty_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactMultiValueExtendedProperty_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactMultiValueExtendedProperty_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property photo in users .Description Update the navigation property photo in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactphoto .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphProfilePhoto>: HELP MESSAGE MISSING [Id <String>]: [Height <Int32?>]: [Width <Int32?>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactphoto #> function Update-MgUserContactPhoto { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProfilePhoto] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${Height}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${Width}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactPhoto_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactPhoto_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactPhoto_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactPhoto_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property singleValueExtendedProperties in users .Description Update the navigation property singleValueExtendedProperties in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactsinglevalueextendedproperty .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSingleValueLegacyExtendedProperty>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontactsinglevalueextendedproperty #> function Update-MgUserContactSingleValueExtendedProperty { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty ${SingleValueLegacyExtendedPropertyId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Value}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactSingleValueExtendedProperty_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactSingleValueExtendedProperty_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactSingleValueExtendedProperty_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContactSingleValueExtendedProperty_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property contacts in users .Description Update the navigation property contacts in users .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontact .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact .Inputs Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphContact>: HELP MESSAGE MISSING [Id <String>]: [Categories <String[]>]: [ChangeKey <String>]: [CreatedDateTime <DateTime?>]: [LastModifiedDateTime <DateTime?>]: [AssistantName <String>]: [Birthday <DateTime?>]: [Children <String[]>]: [CompanyName <String>]: [CompletedDateTime <String>]: [CompletedDateTimeZone <String>]: [Department <String>]: [DisplayName <String>]: [DueDateTime <String>]: [DueDateTimeZone <String>]: [EmailAddresses <IMicrosoftGraphTypedEmailAddress[]>]: [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType [Extensions <IMicrosoftGraphExtension[]>]: [Id <String>]: [FileAs <String>]: [FlagStatus <String>]: followupFlagStatus [Gender <String>]: [Generation <String>]: [GivenName <String>]: [ImAddresses <String[]>]: [Initials <String>]: [IsFavorite <Boolean?>]: [JobTitle <String>]: [Manager <String>]: [MiddleName <String>]: [MultiValueExtendedProperties <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String[]>]: [NickName <String>]: [OfficeLocation <String>]: [ParentFolderId <String>]: [PersonalNotes <String>]: [Phones <IMicrosoftGraphPhone[]>]: [Number <String>]: [Type <String>]: phoneType [PhotoHeight <Int32?>]: [PhotoId <String>]: [PhotoWidth <Int32?>]: [PostalAddresses <IMicrosoftGraphPhysicalAddress[]>]: [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType [Profession <String>]: [SingleValueExtendedProperties <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>]: [Id <String>]: [Value <String>]: [SpouseName <String>]: [StartDateTime <String>]: [StartDateTimeZone <String>]: [Surname <String>]: [Title <String>]: [Websites <IMicrosoftGraphWebsite[]>]: [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType [WeddingAnniversary <DateTime?>]: [YomiCompanyName <String>]: [YomiGivenName <String>]: [YomiSurname <String>]: EMAILADDRESSES <IMicrosoftGraphTypedEmailAddress[]>: HELP MESSAGE MISSING [Address <String>]: [Name <String>]: [OtherLabel <String>]: [Type <String>]: emailType EXTENSIONS <IMicrosoftGraphExtension[]>: HELP MESSAGE MISSING [Id <String>]: INPUTOBJECT <IUsersContactsIdentity>: Identity Parameter [ContactFolderId <String>]: key: contactFolder-id of contactFolder [ContactFolderId1 <String>]: key: contactFolder-id of contactFolder [ContactId <String>]: key: contact-id of contact [ExtensionId <String>]: key: extension-id of extension [MultiValueLegacyExtendedPropertyId <String>]: key: multiValueLegacyExtendedProperty-id of multiValueLegacyExtendedProperty [SingleValueLegacyExtendedPropertyId <String>]: key: singleValueLegacyExtendedProperty-id of singleValueLegacyExtendedProperty [UserId <String>]: key: user-id of user MULTIVALUEEXTENDEDPROPERTIES <IMicrosoftGraphMultiValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String[]>]: PHONES <IMicrosoftGraphPhone[]>: HELP MESSAGE MISSING [Number <String>]: [Type <String>]: phoneType POSTALADDRESSES <IMicrosoftGraphPhysicalAddress[]>: HELP MESSAGE MISSING [City <String>]: [CountryOrRegion <String>]: [PostOfficeBox <String>]: [PostalCode <String>]: [State <String>]: [Street <String>]: [Type <String>]: physicalAddressType SINGLEVALUEEXTENDEDPROPERTIES <IMicrosoftGraphSingleValueLegacyExtendedProperty[]>: HELP MESSAGE MISSING [Id <String>]: [Value <String>]: WEBSITES <IMicrosoftGraphWebsite[]>: HELP MESSAGE MISSING [Address <String>]: [DisplayName <String>]: [Type <String>]: websiteType .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.users.contacts/update-mgusercontact #> function Update-MgUserContact { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: contact-id of contact ${ContactId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: user-id of user ${UserId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IUsersContactsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphContact] # HELP MESSAGE MISSING # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${AssistantName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${Birthday}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Categories}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ChangeKey}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${Children}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompanyName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${CompletedDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${CreatedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Department}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${DueDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTypedEmailAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EMAILADDRESSES properties and create a hash table. ${EmailAddresses}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphExtension[]] # HELP MESSAGE MISSING # To construct, see NOTES section for EXTENSIONS properties and create a hash table. ${Extensions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${FileAs}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # followupFlagStatus ${FlagStatus}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Gender}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Generation}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${GivenName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # HELP MESSAGE MISSING ${ImAddresses}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Initials}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # HELP MESSAGE MISSING ${IsFavorite}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${JobTitle}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Manager}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${MiddleName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphMultiValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for MULTIVALUEEXTENDEDPROPERTIES properties and create a hash table. ${MultiValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${NickName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${OfficeLocation}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${ParentFolderId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PersonalNotes}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhone[]] # HELP MESSAGE MISSING # To construct, see NOTES section for PHONES properties and create a hash table. ${Phones}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoHeight}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${PhotoId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # HELP MESSAGE MISSING ${PhotoWidth}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPhysicalAddress[]] # HELP MESSAGE MISSING # To construct, see NOTES section for POSTALADDRESSES properties and create a hash table. ${PostalAddresses}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Profession}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSingleValueLegacyExtendedProperty[]] # HELP MESSAGE MISSING # To construct, see NOTES section for SINGLEVALUEEXTENDEDPROPERTIES properties and create a hash table. ${SingleValueExtendedProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${SpouseName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${StartDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Surname}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${Title}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphWebsite[]] # HELP MESSAGE MISSING # To construct, see NOTES section for WEBSITES properties and create a hash table. ${Websites}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # HELP MESSAGE MISSING ${WeddingAnniversary}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiCompanyName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiGivenName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # HELP MESSAGE MISSING ${YomiSurname}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContact_Update'; UpdateExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContact_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContact_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Users.Contacts.private\Update-MgUserContact_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIkTQYJKoZIhvcNAQcCoIIkPjCCJDoCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBpb5bKaA3VfRmW # xNz1cXBOuKL9xJZqvrZQ0ouZ4fEHx6CCDXYwggX0MIID3KADAgECAhMzAAABUMiP # lnfeTPFHAAAAAAFQMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ1WhcNMjAwNTAyMjEzNzQ1WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQCh2V193EGtu49awDgcJ1E8WB5mAim/gAFVpWUVOlk/haZWAiffh/k3W/GPhgYl # t2WH/FQS4BcGpeWRb2Wi4seOUWb5lbgIuUKBORF0iiEiPNMLueuD3PAChl/h3WE2 # N1T8zsQg6UMrWtNRdby48xCI6zdD+26yNei3tOccrOWWullOehpBF5Z4vp8Xvq1n # ysaSkGgAZNaKrb3F6et3V5Tq+gJ0DaLm/TGxATcTJ1mrHJOx+cHorSIeGKKzwa19 # uBuUbGALZx8Isus+3KiK7h2YcZ+AHU+qeUCLbKhU3l97Kg9E6/dvAMa+42/BXSmZ # 9+F3WfagixcbNWGaZA1Pn8mPAgMBAAGjggFzMIIBbzAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUGxNB+9SPshuMPQ+xlMnFMiKVkDgw # RQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEW # MBQGA1UEBRMNMjMwMDEyKzQ1NDEzNDAfBgNVHSMEGDAWgBRIbmTlUAXTgqoXNzci # tW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3JsMGEG # CCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDovL3d3dy5taWNyb3NvZnQu # Y29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3J0 # MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIBADSrnbMt49ZGUc9KnW7S # VkzITe55ApMwgxE8jl06lBkMZLd9QatyUt6g2/0RG0boaMHpWzypk6pGDLRD5y/P # 6sj6fQYkrGihAw3W4ObLE3rrY8e5GPTrp/AlMFzsywHhD0+ETwgU8PuMvwQfB6ak # 2ejWP0M1a1tkyAHfEMEGKd7RVPRmlLX+kPkJoFPz/uSlKxXi/acGH1qISQc0pkRt # UE/ufrfpR+LlEOPg5aNZdAwIJAuDWInMeQM7kIoUTShSAJTzT58mrwVXgrfBbZnA # NpsC/v8/amGL43MhTN0V2sWBHZNL7N0X9Z2qldu+jj8HdaNRGQyuru1W+IjNV914 # nk3qp9T/bZmy0elNYkCdNFjapARu6TZ0wwlEkvFW0HuzwtQ2gGDddGuhRFQRrdbU # 68ifXf3dtvUDb0Nr+tnw9k0mV4s9jkTraDBaSJV0v1ixeR6WEBgGcc+uL/rHnci8 # 9cMcZqqcY8gGw0T1GpdDbWYLsYsqfPu5ZP4ga0kZa/ne7Bi3zu8XZ72kM893t5Ib # Z96/2xp2Q+I6vIVfZJ7fh7vQ3OcLAZDvN+y6jNq3jtnQSYHuhX+Du074DXhQeVTB # qTzBiuZPbnJhmI525u1GVoGemw0fqwk4cpeh3d1cDMN5eWlmqEdRwgaWozpj3a4I # BzxVWkDJSJ4ZEq2odtK6eoYcMIIHejCCBWKgAwIBAgIKYQ6Q0gAAAAAAAzANBgkq # hkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x # EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv # bjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 # IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEwOTA5WjB+MQswCQYDVQQG # EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYDVQQDEx9NaWNyb3NvZnQg # Q29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC # CgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+laUKq4BjgaBEm6f8MMHt03 # a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc6Whe0t+bU7IKLMOv2akr # rnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4Ddato88tt8zpcoRb0Rrrg # OGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+lD3v++MrWhAfTVYoonpy # 4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nkkDstrjNYxbc+/jLTswM9 # sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6A4aN91/w0FK/jJSHvMAh # dCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmdX4jiJV3TIUs+UsS1Vz8k # A/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL5zmhD+kjSbwYuER8ReTB # w3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zdsGbiwZeBe+3W7UvnSSmn # Eyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3T8HhhUSJxAlMxdSlQy90 # lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS4NaIjAsCAwEAAaOCAe0w # ggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRIbmTlUAXTgqoXNzcitW2o # ynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYD # VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBDuRQFTuHqp8cx0SOJNDBa # BgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny # bC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3JsMF4GCCsG # AQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3dy5taWNyb3NvZnQuY29t # L3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3J0MIGfBgNV # HSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEFBQcCARYzaHR0cDovL3d3 # dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1hcnljcHMuaHRtMEAGCCsG # AQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkAYwB5AF8AcwB0AGEAdABl # AG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn8oalmOBUeRou09h0ZyKb # C5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7v0epo/Np22O/IjWll11l # hJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0bpdS1HXeUOeLpZMlEPXh6 # I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/KmtYSWMfCWluWpiW5IP0 # wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvyCInWH8MyGOLwxS3OW560 # STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBpmLJZiWhub6e3dMNABQam # ASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJihsMdYzaXht/a8/jyFqGa # J+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYbBL7fQccOKO7eZS/sl/ah # XJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbSoqKfenoi+kiVH6v7RyOA # 9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sLgOppO6/8MO0ETI7f33Vt # Y5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtXcVZOSEXAQsmbdlsKgEhr # /Xmfwb1tbWrJUnMTDXpQzTGCFi0wghYpAgEBMIGVMH4xCzAJBgNVBAYTAlVTMRMw # EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN # aWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNp # Z25pbmcgUENBIDIwMTECEzMAAAFQyI+Wd95M8UcAAAAAAVAwDQYJYIZIAWUDBAIB # BQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEO # MAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIChleXEWfMbb9uvUTg7R5OIP # sJ+EvKZXLFw2uuWtvaVKMEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8A # cwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEB # BQAEggEAd3I6jwbp8HbIczk+4ggLSbIIiNStVuXrCQ1kGCrukN3WDHBubbDo4uFp # 8e3yFUhBp9nYelGVXDdJ8qifaWVQ9j2RO3HvkMusGOA3pL0luiFA6TyTRouwNu52 # dw4j94cqt5dpIuXy4mgcvPat+CtemeH7DUyA55RYeG8X5QwgCOIjjwYSMMs40cHm # 2ulag2zBGXlcuzkZnD8GpQiCVyrPXYmZEvYWBOyp4ykjgouMAYSMRcRuHDy3zk7a # Ck9UuobCZFKG4GlJJmER1CqhDx/eN70gemo32+vsT53An2It5X4hd6dOxjGBgTl+ # WTzj8F1XPZSbCtaP160FiPh7rsm/b6GCE7cwghOzBgorBgEEAYI3AwMBMYITozCC # E58GCSqGSIb3DQEHAqCCE5AwghOMAgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFYBgsq # hkiG9w0BCRABBKCCAUcEggFDMIIBPwIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFl # AwQCAQUABCBBzHysh8w6jdbKsllRSu/VGiJIhCcaEBM2PIsWGX+F4QIGXfpx7Dhl # GBMyMDIwMDExMDIzNTcwNy4wNDhaMAcCAQGAAgH0oIHUpIHRMIHOMQswCQYDVQQG # EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQLEyBNaWNyb3NvZnQg # T3BlcmF0aW9ucyBQdWVydG8gUmljbzEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046 # QzBGNC0zMDg2LURFRjgxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNl # cnZpY2Wggg8fMIIE9TCCA92gAwIBAgITMwAAAQGBPiJG/fo44gAAAAABATANBgkq # hkiG9w0BAQsFADB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQ # MA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9u # MSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDAeFw0xOTA5 # MDYyMDQxMTVaFw0yMDEyMDQyMDQxMTVaMIHOMQswCQYDVQQGEwJVUzETMBEGA1UE # CBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z # b2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQLEyBNaWNyb3NvZnQgT3BlcmF0aW9ucyBQ # dWVydG8gUmljbzEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046QzBGNC0zMDg2LURF # RjgxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggEiMA0G # CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCyUPZYyITkNb2qIq1P3Shde+CJlHdd # vcixvnh4AZKR1/LCJdaOqWyBtseYQ14S6o91+WfXSzmZFy94l67m7IZhULAPAL1+ # 1DsPfDa5vPG2nDUKTMaI4nfl/O5hpO1GK0JludOPSh+u2lOvd/uY85FrpiYvghmH # fDkt7GUC+xE9jDORTl3c+xQL22uUmu01WP5ueRsGSexagFwJ8kALSIavN8eSSpdA # j2gXY+L1uh3sdBsJ+pf4rqbfM1VuIZO7PcAt0yQgfv+P6MzAyfb8MIC4EIyH/Snt # u2JkBswgyTCW+RRoWG3q4zZAges8BU7raHJ1mjvmL1xdB/aLeY6VxK9ZAgMBAAGj # ggEbMIIBFzAdBgNVHQ4EFgQUv76Ymu9N/A6MmGCRLYwVJB25pJEwHwYDVR0jBBgw # FoAU1WM6XIoxkPNDe3xGG8UzaFqFbVUwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDov # L2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljVGltU3RhUENB # XzIwMTAtMDctMDEuY3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0 # cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNUaW1TdGFQQ0FfMjAx # MC0wNy0wMS5jcnQwDAYDVR0TAQH/BAIwADATBgNVHSUEDDAKBggrBgEFBQcDCDAN # BgkqhkiG9w0BAQsFAAOCAQEAHz22Wt6f5Ve2WJBP0Vn1quoEoyCe/4xU4MBKQVHn # 8kxz50BtwRdva6tI6JDqonlKg0YsGF4Olpp5scMn5lbEggEXSV32x1gt8DicNB9C # n1CyJqmdA8QWKA4PE1y1VYDf0IJfIKWM59J/9kDb+5xFVl5aSDbnmdKoRn+xobYa # cuNIffSxQvJpivzvnHig0R2GSGHjTfI2kJJUQS1qkS3dppg0r0cXzeFR3BXv04cf # Nys71r1I2jpN8xn+dDpkKcro1OBCiDstTypiGyhqyxL2fxL6cS2wYbB0UuLXAt+z # 4dt7YeDvsBCv24OeYDR79FPSI8EIy8fM7LuhRVJU32t9YDCCBnEwggRZoAMCAQIC # CmEJgSoAAAAAAAIwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRp # ZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTEwMDcwMTIxMzY1NVoXDTI1MDcwMTIx # NDY1NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV # BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG # A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggEiMA0GCSqGSIb3 # DQEBAQUAA4IBDwAwggEKAoIBAQCpHQ28dxGKOiDs/BOX9fp/aZRrdFQQ1aUKAIKF # ++18aEssX8XD5WHCdrc+Zitb8BVTJwQxH0EbGpUdzgkTjnxhMFmxMEQP8WCIhFRD # DNdNuDgIs0Ldk6zWczBXJoKjRQ3Q6vVHgc2/JGAyWGBG8lhHhjKEHnRhZ5FfgVSx # z5NMksHEpl3RYRNuKMYa+YaAu99h/EbBJx0kZxJyGiGKr0tkiVBisV39dx898Fd1 # rL2KQk1AUdEPnAY+Z3/1ZsADlkR+79BL/W7lmsqxqPJ6Kgox8NpOBpG2iAg16Hgc # sOmZzTznL0S6p/TcZL2kAcEgCZN4zfy8wMlEXV4WnAEFTyJNAgMBAAGjggHmMIIB # 4jAQBgkrBgEEAYI3FQEEAwIBADAdBgNVHQ4EFgQU1WM6XIoxkPNDe3xGG8UzaFqF # bVUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud # EwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxiaNE9lJBb186aGMQwVgYD # VR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwv # cHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3JsMFoGCCsGAQUFBwEB # BE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9j # ZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQwgaAGA1UdIAEB/wSBlTCB # kjCBjwYJKwYBBAGCNy4DMIGBMD0GCCsGAQUFBwIBFjFodHRwOi8vd3d3Lm1pY3Jv # c29mdC5jb20vUEtJL2RvY3MvQ1BTL2RlZmF1bHQuaHRtMEAGCCsGAQUFBwICMDQe # MiAdAEwAZQBnAGEAbABfAFAAbwBsAGkAYwB5AF8AUwB0AGEAdABlAG0AZQBuAHQA # LiAdMA0GCSqGSIb3DQEBCwUAA4ICAQAH5ohRDeLG4Jg/gXEDPZ2joSFvs+umzPUx # vs8F4qn++ldtGTCzwsVmyWrf9efweL3HqJ4l4/m87WtUVwgrUYJEEvu5U4zM9GAS # inbMQEBBm9xcF/9c+V4XNZgkVkt070IQyK+/f8Z/8jd9Wj8c8pl5SpFSAK84Dxf1 # L3mBZdmptWvkx872ynoAb0swRCQiPM/tA6WWj1kpvLb9BOFwnzJKJ/1Vry/+tuWO # M7tiX5rbV0Dp8c6ZZpCM/2pif93FSguRJuI57BlKcWOdeyFtw5yjojz6f32WapB4 # pm3S4Zz5Hfw42JT0xqUKloakvZ4argRCg7i1gJsiOCC1JeVk7Pf0v35jWSUPei45 # V3aicaoGig+JFrphpxHLmtgOR5qAxdDNp9DvfYPw4TtxCd9ddJgiCGHasFAeb73x # 4QDf5zEHpJM692VHeOj4qEir995yfmFrb3epgcunCaw5u+zGy9iCtHLNHfS4hQEe # gPsbiSpUObJb2sgNVZl6h3M7COaYLeqN4DMuEin1wC9UJyH3yKxO2ii4sanblrKn # QqLJzxlBTeCG+SqaoxFmMNO7dDJL32N79ZmKLxvHIa9Zta7cRDyXUHHXodLFVeNp # 3lfB0d4wwP3M5k37Db9dT+mdHhk4L7zPWAUu7w2gUDXa7wknHNWzfjUeCLraNtvT # X4/edIhJEqGCA60wggKVAgEBMIH+oYHUpIHRMIHOMQswCQYDVQQGEwJVUzETMBEG # A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj # cm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQLEyBNaWNyb3NvZnQgT3BlcmF0aW9u # cyBQdWVydG8gUmljbzEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046QzBGNC0zMDg2 # LURFRjgxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2WiJQoB # ATAJBgUrDgMCGgUAAxUACCVTQOIggfoN27b+VXzd4SffBfGggd4wgdukgdgwgdUx # CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt # b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKTAnBgNVBAsTIE1p # Y3Jvc29mdCBPcGVyYXRpb25zIFB1ZXJ0byBSaWNvMScwJQYDVQQLEx5uQ2lwaGVy # IE5UUyBFU046NERFOS0wQzVFLTNFMDkxKzApBgNVBAMTIk1pY3Jvc29mdCBUaW1l # IFNvdXJjZSBNYXN0ZXIgQ2xvY2swDQYJKoZIhvcNAQEFBQACBQDhwprEMCIYDzIw # MjAwMTEwMTQ0MDA0WhgPMjAyMDAxMTExNDQwMDRaMHQwOgYKKwYBBAGEWQoEATEs # MCowCgIFAOHCmsQCAQAwBwIBAAICCvgwBwIBAAICGgYwCgIFAOHD7EQCAQAwNgYK # KwYBBAGEWQoEAjEoMCYwDAYKKwYBBAGEWQoDAaAKMAgCAQACAxbjYKEKMAgCAQAC # AwehIDANBgkqhkiG9w0BAQUFAAOCAQEAGHe7tdZLGGqQATF/AF/IX2ReEjFCrT5v # /fQ2XUj7V/iVSmdxk2wn7cvf+rqerAn/19ZCnrwrpsVpTT2dXovInCFZV7pxisrM # ZP60rtq+HoZvxDiNxlim9OiBS9An3RQ01vuN6H5vGJFG+85qFQcBJlNHYb+hnJlK # 2Vf3Ok6TsQNqqLAvDM8Ewm81Ab7qB1UPu1n4/fW89Yu95IZNHB3D1hqe3rVUwtHd # bUmA9R3j/XGSdu2bI+xTIQxWx9M1ZFew25pigfFc3Sa/Gk0kp1hQbnIOVb4kJUQf # AyQ6mmmxwghzCfDhWvLtGpMGQHulacO35cruNiK3ucygM0aIyOkbVzGCAvUwggLx # AgEBMIGTMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYD # VQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAk # BgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAABAYE+Ikb9 # +jjiAAAAAAEBMA0GCWCGSAFlAwQCAQUAoIIBMjAaBgkqhkiG9w0BCQMxDQYLKoZI # hvcNAQkQAQQwLwYJKoZIhvcNAQkEMSIEIFik/Gbaqr/6sApVS/hBTARPdmGqBd/V # V962dmd6gBoHMIHiBgsqhkiG9w0BCRACDDGB0jCBzzCBzDCBsQQUCCVTQOIggfoN # 27b+VXzd4SffBfEwgZgwgYCkfjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz # aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv # cnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAx # MAITMwAAAQGBPiJG/fo44gAAAAABATAWBBQUpdMT32HfKezYpoWFTRJcKaYTHTAN # BgkqhkiG9w0BAQsFAASCAQClndcgQfnlgkJtP7BpkWUjadtcP/9T/HvL1bVb7af/ # Ou2e8KihmUrTEhIscn56sklFWS5uSzQ/HLHqoYD2K+Z34A1cmhAq970YRXoFUV7v # 1wVJybwHdZEAd2U0JB98qtcIt3XZQO92JkAUiamipZsUZ5KluVM4eJJmsiJy5Dpk # SMBrPPv89ImdQ8M8CeAp89CAkm0epq2TMWuPNYd+dChyjVd3VHdaW5VtD3MEZkAO # 0U6I0SqH1u9MxJrS/DRbfHaPWYrNkpk2SQ1opuAUNUF4XNub4X5ezE+ylwnhLY1s # G2oIHhW+315eFo/6iqNQrcW0Y/PhZINJU27bCRozMfRJ # SIG # End signature block |