PortValhalla/scripts/Common/Software/PinnedItem/Manage.ps1

16 lines
362 B
PowerShell
Raw Normal View History

2024-08-08 02:36:35 +00:00
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;