Skip to content

Releases: Sekers/ScriptMessage

ScriptMessage 1.1.0

17 Oct 03:46
da13597

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Fixes

  • ScriptMessage now properly allows for for NULL in TO, CC, BCC parameters in Microsoft Graph.
  • Reverted recently added code formatting that included Begin\End process blocks as the way they were implemented caused bugs.
  • Catch if a Teams Chat attachments folder does not already exists in the user's OneDrive.
  • The 'AllowableMessageTypes' Microsoft Graph configuration is now being applied properly.

Features

  • Much better error handling with the Microsoft Graph service. Warnings and Errors are now collected and if one service type has an error the command will still process the other service type (when applicable).
  • Get-ScriptMessageConfig can now optionally pull data for a specific service only. Returning all services configurations is still the default.
  • Sending multiple attachments in a single email or chat now works with Microsoft Graph.
  • Sending attachments with non-standard filenames (uploaded to the user's OneDrive) using Microsoft Graph Chat is now supported.

Other

  • BREAKING CHANGE: Renamed the Microsoft Graph service from 'MgGraph' to 'MicrosoftGraph'. Please update your configuration files as needed.
  • Changes made to only import necessary Microsoft Graph PowerShell modules.

Full Changelog: 1.0.8...1.1.0

ScriptMessage 1.0.8

18 Sep 19:29
bc6ae33

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Fixes

  • Get-ScriptMessageContext will return common info (like service name) rather than NULL if nothing comes back from the service (e.g., if it's not connected).

Features

  • BREAKING CHANGE: Updates to the return info when sending messages. This is to make the responses more consistent across various services going forward.
  • New Function: Disconnect-ScriptMessage > Disconnects from the specified messaging service ahead of sending the message, if possible.
  • Enabled support for Graph Module Chat (delegated permissions only since Graph does not support application permissions for chat).
  • ScriptMessage now caches service context information. Use Get-ScriptMessageContext with the 'ReturnCachedContext' parameter to have the cmdlet return the cached context information (if it exists to) reduce API calls.
  • Attachments are now supported in messages.

Other

  • README and built-in help updates.
  • Added a few warning messages when using unsupported actions for the Microsoft Graph SDK.

Full Changelog: 1.0.7...1.0.8

ScriptMessage 1.0.7

26 Dec 17:53
b002325

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Features

  • New messaging class "MessageServiceType" and corresponding parameters for the Send-ScriptMessage Cmdlet to allow multiple/combined service & type parameters in one call.

Other

  • Results returned from Send-ScriptMessage has recipients adjusted from Hashtables to PSCustomObjects. This better handles collections (arrays) of addresses than hashtables being returned. Originally it was hashtables to mimic what Graph uses but that's not great for our purpose.

Full Changelog: 1.0.6...1.0.7

ScriptMessage 1.0.6

19 Dec 17:56
c3ca431

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Fixes

  • Support for Client Secret authentication in Microsoft Graph 2.x and newer.

Features

  • Added in an "AllowableMessageTypes" configuration setting for specific services to configure which types of messaging (Mail, Chat, etc.) are available for use with those services.

Other

  • BREAKING CHANGE: Removed support for Microsoft Graph SDK version 1.x when using Client Secret authentication. Use version 2.x of the SDK or newer.
  • Removed Graph SDK beta support since the way beta works has been changed by Microsoft and supporting it adds unnecessary complexity.
  • Adjusted code formatting to include Begin\End process blocks to better accommodate future code updates.
  • Minor code adjustments and spelling fixes to assist with debugging.

Full Changelog: 1.0.5...1.0.6

ScriptMessage 1.0.5

22 May 16:43
6e1bd0a

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Features

  • Added in an "All" recipients field when returning message send results, for convenience.

Full Changelog: 1.0.4...1.0.5

ScriptMessage 1.0.4

21 May 20:44
279a3af

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Fixes

  • Renamed 'Sender' parameters & variables to 'SenderId' since 'Sender' is an automatic variable that is built into PowerShell and assigning to it might have undesired side effects in some circumstances.

Full Changelog: 1.0.3...1.0.4

ScriptMessage 1.0.3

21 May 20:24
b7d8b7c

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Features

  • Added an optional message type parameter to 'Send-ScriptMessage' to differentiate types of messages (chat, mail, etc.) for message services that support multiple kinds of messages. Defaults to 'Mail' if not specified.

Full Changelog: 1.0.2...1.0.3

ScriptMessage 1.0.2

21 May 17:22
cedfed0

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Fixes

  • Resolved issue with an internal function where a Microsoft Graph recipient returns empty when a recipient is inside an array of arrays.

Full Changelog: 1.0.1...1.0.2

ScriptMessage 1.0.1

20 May 20:30
8431f01

Choose a tag to compare

Latest Changelog: https://github.com/Sekers/ScriptMessage/blob/master/CHANGELOG.md

Fixes

  • Removed default command prefix leftover from initial testing.

Full Changelog: 1.0.0...1.0.1

ScriptMessage 1.0.0

20 May 19:05
38d005c

Choose a tag to compare