CmdID / PowerShell / Cmdlets / New
New-MgUserMailFolderMessageAttachment
Create new navigation property to attachments for users Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterattachment To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ContentTypeThe MIME type.-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.-IsInlinetrue if the attachment is an inline attachment; otherwise, false.-LastModifiedDateTimeThe Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.-MailFolderIdThe unique identifier of mailFolder-MessageIdThe unique identifier of message-NameThe attachment's file name.-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.-SizeThe length of the attachment in bytes.-UserIdThe unique identifier of user-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.