CmdID

CmdID / PowerShell / Cmdlets / Update

Update-MgChatLastMessagePreview

Update the navigation property lastMessagePreview in chats Microsoft Graph PowerShell reference

From the Microsoft Graph PowerShell reference 21 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

21 in the Microsoft Graph PowerShell reference
Show its 21 parameters
-AdditionalPropertiesAdditional Parameters
-BodyitemBody To construct, see NOTES section for BODY properties and create a hash table.
-BodyParameterchatMessageInfo To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
-BreakWait for .NET debugger to attach
-ChatIdThe unique identifier of chat
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CreatedDateTimeDate time object representing the time at which message was created.
-EventDetaileventMessageDetail
-FromchatMessageFromIdentitySet
-HeadersOptional headers that will be added to the request.
-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline
-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline
-IdThe unique identifier for an entity.
-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
-IsDeletedIf set to true, the original message has been deleted.
-MessageTypechatMessageType
-ProxyThe URI for the proxy server to use
-ProxyCredentialCredentials for a proxy server to use for the remote call
-ProxyUseDefaultCredentialsUse the default credentials for the proxy
-ResponseHeadersVariable, -RHVOptional Response Headers Variable.
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.