public/macro/Format-ConfluencePagePropertiesReportMacro.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
function Format-ConfluencePagePropertiesReportMacro { [CmdletBinding()] param ( # Cql [Parameter(Mandatory,Position=0)] [string] $Cql, # Page size [Parameter(Position=1)] [int] $PageSize = 30, # First column [Parameter(Position=2)] [string] $FirstColumn, # Headings [Parameter(Position=3)] [string] $Headings, # Sort by [Parameter(Position=4)] [string] $SortBy ) begin { } process { (New-Object PowerConfluencePagePropertiesReportMacro @($Cql,$PageSize,$FirstColumn,$Headings,$SortBy)).ToString() } end { } } |