CmdID / PowerShell / Cmdlets / New
New-MgChat
Create a new chat object. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 32 parameters Its page in the reference
Parameters
Show its 32 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterchat To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-ChatTypechatType-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedDateTimeDate and time at which the chat was created.-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.-InstalledAppsA collection of all the apps in the chat.-IsHiddenForAllMembersIndicates whether the chat is hidden for all its members.-LastMessagePreviewchatMessageInfo To construct, see NOTES section for LASTMESSAGEPREVIEW properties and create a hash table.-LastUpdatedDateTimeDate and time at which the chat was renamed or the list of members was last changed.-MembersA collection of all the members in the chat.-MessagesA collection of all the messages in the chat.-MigrationModemigrationMode-OnlineMeetingInfoteamworkOnlineMeetingInfo To construct, see NOTES section for ONLINEMEETINGINFO properties and create a hash table.-OriginalCreatedDateTimeTimestamp of the original creation time for the chat.-PermissionGrantsA collection of permissions granted to apps for the chat.-PinnedMessagesA collection of all the pinned messages in the chat.-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.-TabsA collection of all the tabs in the chat.-TargetedMessagesA collection of targeted messages in the chat that are visible only to specific users.-TenantIdThe identifier of the tenant in which the chat was created.-Topic(Optional) Subject or topic for the chat.-ViewpointchatViewpoint To construct, see NOTES section for VIEWPOINT properties and create a hash table.-WebUrlThe URL for the chat in Microsoft Teams.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.