Skip to content

Commit

Permalink
Updated documentation on private cmdlets
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau committed Jan 5, 2022
1 parent 7e56561 commit 2e527a5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Tests/Build.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Describe "Validation of build environment" -Tag Unit {
}

It "has a version changelog that matches the manifest version" {
Configuration\Get-Metadata -Path $env:BHManifestToTest -PropertyName ModuleVersion | Should -BeLike "$changelogVersion*"
(Metadata\Import-Metadata -Path $env:BHManifestToTest).ModuleVersion | Should -BeLike "$changelogVersion*"
}
}
}
37 changes: 27 additions & 10 deletions docs/en-US/commands/Invoke-Method.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ Invoke a specific call to a Confluence REST Api endpoint

```powershell
Invoke-ConfluenceMethod [-URi] <Uri> [[-Method] <WebRequestMethod>] [[-Body] <String>] [-RawBody]
[[-Headers] <Hashtable>] [[-GetParameters] <Hashtable>] [[-InFile] <String>] [[-OutFile] <String>]
[[-OutputType] <Type>] [-Credential] <PSCredential> [[-Caller] <Object>] [-IncludeTotalCount] [-Skip <UInt64>]
[-Headers <Hashtable>] [-GetParameters <Hashtable>] [-InFile <String>] [-OutFile <String>]
[-OutputType <Type>] [-Credential <PSCredential>] [-PersonalAccessToken <String>]
[-Certificate <X509Certificate>] [-Caller <Object>] [-IncludeTotalCount] [-Skip <UInt64>]
[-First <UInt64>] [<CommonParameters>]
```

Expand Down Expand Up @@ -224,7 +225,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -244,7 +245,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -262,7 +263,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -280,7 +281,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -299,7 +300,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -317,7 +318,23 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -PersonalAccessToken
The PersonalAccessToken you created in your Confluence User Settings.
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -335,7 +352,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -351,7 +368,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Position: Named
Default value: $PSCmdlet
Accept pipeline input: False
Accept wildcard characters: False
Expand Down

0 comments on commit 2e527a5

Please sign in to comment.