diff --git a/Public/New-HTMLTable.ps1 b/Public/New-HTMLTable.ps1 index 0b0a4573..304837ef 100644 --- a/Public/New-HTMLTable.ps1 +++ b/Public/New-HTMLTable.ps1 @@ -48,6 +48,7 @@ function New-HTMLTable { [switch] $ImmediatelyShowHiddenDetails, [alias('RemoveShowButton')][switch] $HideShowButton, [switch] $AllProperties, + [switch] $SkipProperties, [switch] $Compare, [alias('CompareWithColors')][switch] $HighlightDifferences, [int] $First, @@ -133,7 +134,7 @@ function New-HTMLTable { } } - $DataTable = Compare-MultipleObjects -Objects $DataTable -Summary -Splitter $Splitter -FormatOutput -AllProperties:$AllProperties -Replace $ReplaceCompare + $DataTable = Compare-MultipleObjects -Objects $DataTable -Summary -Splitter $Splitter -FormatOutput -AllProperties:$AllProperties -SkipProperties:$SkipProperties -Replace $ReplaceCompare if ($HighlightDifferences) { $Highlight = for ($i = 0; $i -lt $DataTable.Count; $i++) { @@ -585,4 +586,4 @@ function New-HTMLTable { } $AfterTable } -} \ No newline at end of file +} diff --git a/Public/Out-HTMLView.ps1 b/Public/Out-HTMLView.ps1 index b322df7b..ea8637fa 100644 --- a/Public/Out-HTMLView.ps1 +++ b/Public/Out-HTMLView.ps1 @@ -75,6 +75,7 @@ function Out-HtmlView { [switch] $ImmediatelyShowHiddenDetails, [alias('RemoveShowButton')][switch] $HideShowButton, [switch] $AllProperties, + [switch] $SkipProperties, [switch] $Compare, [alias('CompareWithColors')][switch] $HighlightDifferences, [int] $First, @@ -112,7 +113,7 @@ function Out-HtmlView { -FreezeColumnsLeft $FreezeColumnsLeft -FreezeColumnsRight $FreezeColumnsRight ` -FixedHeader:$FixedHeader -FixedFooter:$FixedFooter -ResponsivePriorityOrder $ResponsivePriorityOrder ` -ResponsivePriorityOrderIndex $ResponsivePriorityOrderIndex -PriorityProperties $PriorityProperties -AllProperties:$AllProperties ` - -Compare:$Compare -HighlightDifferences:$HighlightDifferences -First $First -Last $Last ` + -SkipProperties:$SkipProperties -Compare:$Compare -HighlightDifferences:$HighlightDifferences -First $First -Last $Last ` -ImmediatelyShowHiddenDetails:$ImmediatelyShowHiddenDetails -Simplify:$Simplify -HideShowButton:$HideShowButton -CompareReplace $CompareReplace } if ($PassThru) { @@ -124,4 +125,4 @@ function Out-HtmlView { Write-Warning 'Out-HtmlView - No data available.' } } -} \ No newline at end of file +}