Add scripts for installing essential software
This commit is contained in:
parent
348b1a00bc
commit
6997a800b9
4 changed files with 84 additions and 1 deletions
scripts/Windows/Scripts
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue