Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog for ScriptMessage PowerShell Module

## [Unreleased](https://github.com/Sekers/ScriptMessage/compare/1.1.1...develop)

### Fixed

- Minor: The help for `Get-ScriptMessageConfig` and `Set-ScriptMessageConfigFilePath` now describes the `-Path` parameter, which it left blank.
- Minor: The fourth `Send-ScriptMessage` help example, which sends attachments held in variables, now runs as written. It failed with "Missing closing ')' in subexpression" when copied, and it ended without calling `Send-ScriptMessage`.

---
## [1.1.1](https://github.com/Sekers/ScriptMessage/tree/1.1.1) - 2026-09-16

### Changed
Expand Down Expand Up @@ -144,7 +152,7 @@ Author: [**@Sekers**](https://github.com/Sekers)
Author: [**@Sekers**](https://github.com/Sekers)

---
## [1.0.0](https://github.com/Sekers/SKYAPI/tree/1.0.0) - (2024-05-20)
## [1.0.0](https://github.com/Sekers/ScriptMessage/tree/1.0.0) - (2024-05-20)

### Features

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ See [CHANGELOG.md](./CHANGELOG.md) for information on the latest updates, as wel

## Documentation

The ScriptMessage module documentation is hosted in the [ScriptMessage Wiki](https://github.com/Sekers/ScriptMessage/wiki). Examples are included in the [Sample Usage Scripts folder](./Sample_Usage_Scripts) as well as in the comment-based help for each function/cmdlet (e.g., Get-Help Connect-ScriptMessage).
The ScriptMessage module documentation is hosted in the [ScriptMessage Wiki](https://github.com/Sekers/ScriptMessage/wiki). Examples are included in the comment-based help for each function/cmdlet (e.g., Get-Help Connect-ScriptMessage -Examples).

---

Expand Down
5 changes: 3 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ user-visible change adds its entry under `## [Unreleased]`, in one of these sect
`[Unreleased]` exists only on `develop`, and only while it has entries. A release renames it to the version
heading, so right after a release there is none. The next pull request that adds an entry also adds the section at
the top, linked to a comparison from the last release:
`## [Unreleased](https://github.com/Sekers/ScriptMessage/compare/1.2.0...develop)`. The Release workflow refuses to
publish a tag whose `CHANGELOG.md` still has an `[Unreleased]` section.
`## [Unreleased](https://github.com/Sekers/ScriptMessage/compare/<release>...develop)`, where `<release>` is the
latest release tag. The Release workflow refuses to publish a tag whose `CHANGELOG.md` still has an `[Unreleased]`
section.

## Releasing a version

Expand Down
2 changes: 1 addition & 1 deletion ScriptMessage/Public/Get-ScriptMessageConfig.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Get-ScriptMessageConfig
.DESCRIPTION
Get the configuration and secrets to connect to the messaging service(s).

.PARAMETER ConfigPath
.PARAMETER Path
Optional. If not provided, the function will use the path used in the current session (if set).
.PARAMETER Service
Optional. Return only the info related to a specific service.
Expand Down
6 changes: 4 additions & 2 deletions ScriptMessage/Public/Send-ScriptMessage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,15 @@ function Send-ScriptMessage
# $Content2 = Get-Content -AsByteStream -Raw -Path 'C:\Users\John\Downloads\AMovie.mp4'

$Attachment = @(
@{
@{
Name = 'MyPDF.pdf'
Content = $Content1
},
@{
Name = 'funnyballgame.mp4'
Content = $Content2
}
}
)

$MessageArguments = @{
From = @{
Expand All @@ -138,6 +138,8 @@ function Send-ScriptMessage
}
Attachment = $Attachment
}

Send-ScriptMessage -Service MicrosoftGraph @MessageArguments
#>

[CmdletBinding()]
Expand Down
2 changes: 1 addition & 1 deletion ScriptMessage/Public/Set-ScriptMessageConfigFilePath.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function Set-ScriptMessageConfigFilePath
Set the path to your ScriptMessage configuration file. The configuration holds general settings for the ScriptMessage module
to use, as well as the connection information for the messaging service(s) you are using.

.PARAMETER Service
.PARAMETER Path
Specify the path to where your configuration file is located.

.EXAMPLE
Expand Down