Skip profile creation for PinnedItem
This commit is contained in:
parent
fcc0529c1b
commit
39600c813f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ param (
|
|||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||||
. "$PSScriptRoot/../../../Common/Software/PowerShell/Module.ps1";
|
||||
|
||||
$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly;
|
||||
$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly -NoProfile;
|
||||
|
||||
foreach ($key in $PSBoundParameters.Keys) {
|
||||
$parameters.Add($key, $PSBoundParameters.TryGetValue($key));
|
||||
|
|
Loading…
Reference in a new issue