Skip to content

🚀 [Feature]: Add Get-Greeting function#11

Merged
MariusStorhaug merged 2 commits into
mainfrom
releasenotes
Jan 17, 2026
Merged

🚀 [Feature]: Add Get-Greeting function#11
MariusStorhaug merged 2 commits into
mainfrom
releasenotes

Conversation

@MariusStorhaug

Copy link
Copy Markdown
Owner

Adds a new Get-Greeting function that returns a greeting message based on the time of day. This provides a simple utility for generating contextual greetings in scripts and modules.

New Function

The Get-Greeting function accepts an optional -TimeOfDay parameter with values Morning, Afternoon, or Evening, defaulting to Morning.

# Returns "Good Morning!"
Get-Greeting

# Returns "Good Evening!"
Get-Greeting -TimeOfDay 'Evening'

Tests

Added tests to verify the function works correctly with the default parameter and explicit time of day values.

@MariusStorhaug
MariusStorhaug marked this pull request as ready for review January 17, 2026 21:56
@MariusStorhaug
MariusStorhaug merged commit ff97ef8 into main Jan 17, 2026
36 checks passed
@MariusStorhaug
MariusStorhaug deleted the releasenotes branch January 17, 2026 21:56
@github-actions

Copy link
Copy Markdown

Module MariusTestModule - 0.2.0 published to the PowerShell Gallery.

@github-actions

Copy link
Copy Markdown

GitHub release for MariusTestModule v0.2.0 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant