Fix dps and Get-HAPath
DPS -MatchAny should work better now Get-HAPath refined
This commit is contained in:
parent
0a2bb25700
commit
fd9b8a968c
2 changed files with 8 additions and 5 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue