examples/CIS_Microsoft_Edge_Windows.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#Requires -module CISDSC
#Requires -RunAsAdministrator

<#
    .DESCRIPTION
    Applies CIS Level one benchmarks for Microsoft Edge with no exclusions on Windows.
    Exclusion documentation can be found in the docs folder of this module.
#>


Configuration Microsoft_Edge_CIS_L1
{
    Import-DSCResource -ModuleName 'CISDSC' -Name 'CIS_Microsoft_Edge_Windows'

    node 'localhost'
    {
        CIS_Microsoft_Edge_Windows 'Microsoft Edge CISBenchmarks'
        {
        }
    }
}

Microsoft_Edge_CIS_L1
Start-DscConfiguration -Path '.\Microsoft_Edge_CIS_L1' -Verbose -Wait