Examples/Resources/xMicrosoftUpdate/1-Sample_xMicrosoftUpdate.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<#
    .EXAMPLE
    Enables Mircosoft Update on Server1, Server2 and Server3
#>
    

Configuration Example
{
    Import-DscResource -Module xWindowsUpdate

    Node localhost
    {
        xMicrosoftUpdate "EnableMSUpdate"
        {
            Ensure = "Present"
        }
    }
}