Skip to content

Add PowerShell Hello Cities sample for Durable Functions#313

Merged
greenie-msft merged 5 commits into
Azure-Samples:mainfrom
hhunter-ms:add-powershell-hello-cities-v2
May 27, 2026
Merged

Add PowerShell Hello Cities sample for Durable Functions#313
greenie-msft merged 5 commits into
Azure-Samples:mainfrom
hhunter-ms:add-powershell-hello-cities-v2

Conversation

@hhunter-ms
Copy link
Copy Markdown
Collaborator

Purpose

  • ...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

Copilot AI review requested due to automatic review settings May 26, 2026 21:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new PowerShell “Hello Cities” Durable Functions sample to the repo’s sample catalog, intended to demonstrate basic orchestration patterns against the Durable Task Scheduler backend.

Changes:

  • Extend the samples catalog (samples/README.md) to include PowerShell under Durable Functions and add a PowerShell section.
  • Add a new PowerShell samples index (samples/durable-functions/powershell/README.md).
  • Add a new PowerShell Durable Functions app sample (samples/durable-functions/powershell/HelloCities) implementing chaining + fan-out/fan-in.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
samples/README.md Adds PowerShell to the Durable Functions matrix and adds a PowerShell section entry for Hello Cities.
samples/durable-functions/powershell/README.md Introduces a PowerShell samples landing page.
samples/durable-functions/powershell/HelloCities/.gitignore Ignores managed dependency modules folder.
samples/durable-functions/powershell/HelloCities/README.md Documents how to run the PowerShell Hello Cities sample locally and against Azure.
samples/durable-functions/powershell/HelloCities/host.json Configures Durable Task Scheduler backend/provider for the function app.
samples/durable-functions/powershell/HelloCities/profile.ps1 Adds PowerShell cold-start profile and Managed Identity login behavior.
samples/durable-functions/powershell/HelloCities/requirements.psd1 Declares required PowerShell modules (Az.Accounts).
samples/durable-functions/powershell/HelloCities/ChainingOrchestration/function.json Declares the orchestration trigger binding for chaining.
samples/durable-functions/powershell/HelloCities/ChainingOrchestration/run.ps1 Implements the chaining orchestrator logic.
samples/durable-functions/powershell/HelloCities/FanOutFanInOrchestration/function.json Declares the orchestration trigger binding for fan-out/fan-in.
samples/durable-functions/powershell/HelloCities/FanOutFanInOrchestration/run.ps1 Implements fan-out/fan-in orchestration logic.
samples/durable-functions/powershell/HelloCities/SayHello/function.json Declares the activity trigger binding.
samples/durable-functions/powershell/HelloCities/SayHello/run.ps1 Implements the SayHello activity.
samples/durable-functions/powershell/HelloCities/StartChaining/function.json Declares the HTTP starter + durableClient bindings for chaining.
samples/durable-functions/powershell/HelloCities/StartChaining/run.ps1 Implements the HTTP starter for chaining.
samples/durable-functions/powershell/HelloCities/StartFanOutFanIn/function.json Declares the HTTP starter + durableClient bindings for fan-out/fan-in.
samples/durable-functions/powershell/HelloCities/StartFanOutFanIn/run.ps1 Implements the HTTP starter for fan-out/fan-in.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread samples/durable-functions/powershell/HelloCities/README.md Outdated
Comment thread samples/durable-functions/powershell/HelloCities/profile.ps1 Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 26, 2026 21:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.

Comment thread samples/durable-functions/powershell/HelloCities/README.md
Comment thread samples/durable-functions/powershell/HelloCities/README.md
Comment thread samples/durable-functions/powershell/HelloCities/README.md Outdated
Copilot AI review requested due to automatic review settings May 27, 2026 16:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.

Comment thread samples/durable-functions/powershell/HelloCities/profile.ps1 Outdated
Comment thread samples/durable-functions/powershell/HelloCities/profile.ps1 Outdated
Comment thread samples/durable-functions/powershell/HelloCities/README.md
@greenie-msft greenie-msft merged commit 0e3b7be into Azure-Samples:main May 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants