Skip to content

Commit

Permalink
fix search for OneDrive
Browse files Browse the repository at this point in the history
  • Loading branch information
metablaster committed Dec 4, 2023
1 parent b7787d2 commit c2184fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Ruleset.ProgramInfo/Private/Update-Table.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function Update-Table

# TODO: We handle OneDrive case here but there may be more such programs in the future
# so this obviously means we need better approach to handle this
if ($Search -eq "OneDrive")
if ($Search -like "*OneDrive*")
{
# NOTE: For one drive registry drilling procedure is different
$UserPrograms = Get-OneDrive $UserInfo.User @CimParams @SessionParams
Expand Down

0 comments on commit c2184fa

Please sign in to comment.