Add scripts for installing essential software

This commit is contained in:
Manuel Thalmann 2024-08-06 00:04:02 +02:00
parent 348b1a00bc
commit 6997a800b9
4 changed files with 84 additions and 1 deletions
scripts/Windows/Scripts

View file

@ -199,6 +199,21 @@ $null = New-Module {
Set-SetupOption $finishedOption $true;
}
<#
.SYNOPSIS
Checks whether the specified software collection is enabled.
.PARAMETER Name
The name of the collection to check.
#>
function Test-Collection {
param(
[string] $Name
)
Get-Config "valhalla.software.$Name";
}
<#
.SYNOPSIS
Checks whether the active session is executed with admin rights.