PortValhalla/scripts/Common/Software/posh-git/Manage.ps1

16 lines
348 B
PowerShell

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