Fix dps and Get-HAPath

DPS -MatchAny should work better now
Get-HAPath refined
This commit is contained in:
Gal Szkolnik 2021-07-16 09:04:24 -04:00
parent 0a2bb25700
commit fd9b8a968c
2 changed files with 8 additions and 5 deletions

View file

@ -32,7 +32,7 @@ if( $MatchName ) {
}
if( $MatchAny ) {
$result = $result | Where-Object { $_ | Out-String | Where-Object { $_ -match $($MatchAny -join '|') } }
$result = $result | Where-Object { $_ | Format-Table -Wrap -HideTableHeaders | Out-String | Where-Object { $_ -match $($MatchAny -join '|') } }
}
if( $OrderBy ) {