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