Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
OktaPosh
0.2.6
private/Find-InResult.ps1
function
Find-InResult
{
param
(
$Result
,
[string]
$Query
)
if
(
$Result
-and
$Query
)
{
$Result
|
Where-Object
name
-like
"*$Query*"
}
else
{
$Result
}
}