Skip to content

Commit d7c462d

Browse files
Fix syntax for -IsDefault parameter in docs (#5156)
* Fix syntax for -IsDefault parameter in docs Fix #5155: Updated syntax for -IsDefault parameter in documentation. * Update documentation/Get-PnPPowerPlatformEnvironment.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 0390346 commit d7c462d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

documentation/Get-PnPPowerPlatformEnvironment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This cmdlets returns all of the Power Platform environments for the current tena
4545

4646
### Example 2
4747
```powershell
48-
Get-PnPPowerPlatformEnvironment -IsDefault $true
48+
Get-PnPPowerPlatformEnvironment -IsDefault:$true
4949
```
5050

5151
This cmdlets returns the default Power Platform environment for the current tenant.
@@ -75,10 +75,10 @@ Accept wildcard characters: False
7575
```
7676
7777
### -IsDefault
78-
Allows retrieval of the default Power Platform environment by passing in `-IsDefault $true`. When passing in `-IsDefault $false` you will get all non default environments. If not provided at all, all available environments, both default and non-default, will be returned.
78+
Allows retrieval of the default Power Platform environment by passing in `-IsDefault:$true`. When passing in `-IsDefault:$false` you will get all non default environments. If not provided at all, all available environments, both default and non-default, will be returned.
7979

8080
```yaml
81-
Type: bool
81+
Type: SwitchParameter
8282
Parameter Sets: Default
8383
Aliases:
8484
@@ -121,4 +121,4 @@ Accept wildcard characters: False
121121

122122
## RELATED LINKS
123123

124-
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
124+
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

0 commit comments

Comments
 (0)