Examples/Resources/xHotfix/2-Sample_xWindowsUpdateFromURI.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<#
    .EXAMPLE
    This sample looks at installing a particular windows update. However, the URI and ID properties can be changed
    as per the hotfix that you want to install
#>


Configuration Example
{
    Import-DscResource -module xWindowsUpdate
    
    xHotfix m1
    {
        Path = 'http://hotfixv4.microsoft.com/Microsoft%20Office%20SharePoint%20Server%202007/sp2/officekb956056fullfilex64glb/12.0000.6327.5000/free/358323_intl_x64_zip.exe'
        Id = 'KB956056' 
        Ensure='Present'
    }

}