Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 548 Bytes

File metadata and controls

25 lines (20 loc) · 548 Bytes
description Automatically generated file. DO NOT MODIFY
Import-Module Microsoft.Graph.Beta.Mail

$params = @{
	message = @{
		attachments = @(
			@{
				"@odata.type" = "#microsoft.graph.fileAttachment"
				name = "guidelines.txt"
				contentBytes = "bWFjIGFuZCBjaGVlc2UgdG9kYXk="
			}
		)
	}
	comment = "Please take a look at the attached guidelines before you decide on the name."
}

# A UPN can also be used as -UserId.
Invoke-MgBetaReplyAllUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params