Skip to content

Conversation

@gautamdsheth
Copy link
Collaborator

Fix #5155: Updated syntax for -IsDefault parameter in documentation.

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #5155

What is in this Pull Request ?

Updated docs

Fix #5155: Updated syntax for -IsDefault parameter in documentation.
Copilot AI review requested due to automatic review settings November 16, 2025 18:35
Copilot finished reviewing on behalf of gautamdsheth November 16, 2025 18:35
Copy link
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

This PR fixes the documentation for the -IsDefault parameter in Get-PnPPowerPlatformEnvironment to correctly reflect that it's a SwitchParameter, not a bool. The documentation now uses proper PowerShell syntax for switch parameters (:$true / :$false).

  • Corrected parameter type from bool to SwitchParameter in the parameter description
  • Updated example and parameter description to use proper switch parameter syntax (:$true and :$false)

@gautamdsheth gautamdsheth merged commit d7c462d into dev Nov 16, 2025
3 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.

[BUG] Get-PnPPowerPlatformEnvironment example incorrect

2 participants