16 lines
362 B
PowerShell
16 lines
362 B
PowerShell
param (
|
|
$Action,
|
|
[hashtable] $Arguments
|
|
)
|
|
|
|
. "$PSScriptRoot/../PowerShell/Module.ps1";
|
|
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
|
|
|
$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly;
|
|
|
|
foreach ($key in $PSBoundParameters.Keys) {
|
|
$parameters.Add($key, $PSBoundParameters.TryGetValue($key));
|
|
}
|
|
|
|
Start-SoftwareInstaller @parameters;
|