DSCResources/Resources/linux.nxPackage.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

$rules = Select-Rule -Type nxPackageRule -RuleList $stig.RuleList

foreach ($rule in $rules)
{
    nxPackage (Get-ResourceTitle -Rule $rule)
    {
        Name   = $rule.Name
        Ensure = $rule.Ensure
    }
}