param ( $Action, [hashtable] $Arguments ) . "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1"; . "$PSScriptRoot/../../../Common/Scripts/Software.ps1"; . "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1"; & { param($Parameters) $base = "$PSScriptRoot/../../../Common/Software/Oh My Posh/Manage.ps1"; Start-SoftwareInstaller @Parameters ` -Installer { Install-WingetPackage JanDeDobbeleer.OhMyPosh -ArgumentList "--scope","machine"; } ` -Configurator { . $base -Action ([InstallerAction]::Configure); } ` -UserConfigurator { . $base -Action ([InstallerAction]::ConfigureUser); }; } $PSBoundParameters;