21 lines
417 B
PowerShell
21 lines
417 B
PowerShell
using namespace Microsoft.Win32;
|
|
|
|
param(
|
|
$Action,
|
|
[hashtable] $Arguments
|
|
)
|
|
|
|
. "$PSScriptRoot/../../Scripts/Software.ps1";
|
|
|
|
Start-SoftwareInstaller @PSBoundParameters `
|
|
-Installer {
|
|
param(
|
|
[scriptblock] $Installer
|
|
)
|
|
|
|
& $Installer -Action ([InstallerAction]::Configure)
|
|
} `
|
|
-Configurator {
|
|
Set-Service ssh-agent -StartupType AutomaticDelayedStart;
|
|
};
|