From 6cade00931c8b2490b0cd330f7d24eead0016612 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 22 Aug 2024 23:55:41 +0200 Subject: [PATCH] Skip profile creation for `PinnedItem` --- scripts/Windows/Software/PinnedItem/Manage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Software/PinnedItem/Manage.ps1 b/scripts/Windows/Software/PinnedItem/Manage.ps1 index ec97de39..4500e586 100644 --- a/scripts/Windows/Software/PinnedItem/Manage.ps1 +++ b/scripts/Windows/Software/PinnedItem/Manage.ps1 @@ -6,7 +6,7 @@ param ( . "$PSScriptRoot/../../../Common/Software/PowerShell/Module.ps1"; . "$PSScriptRoot/../../../Common/Scripts/Software.ps1"; -$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly; +$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly -NoProfile; foreach ($key in $PSBoundParameters.Keys) { $parameters.Add($key, $PSBoundParameters.TryGetValue($key));