Examples/Install-IIM.ps1

#requires -Version 5

Configuration IIM
{
    Import-DSCResource -module cIBMInstallationManager -ModuleVersion '1.0.6'
    Package SevenZip {
        Ensure = 'Present'
        Name = '7-Zip 9.20 (x64 edition)'
        ProductId = '23170F69-40C1-2702-0920-000001000000'
        Path = 'C:\Media\7z920-x64.msi'
    }
    cIBMInstallationManager iimInstall
    {
        Ensure = 'Present'
        InstallationDirectory = 'C:\IBM\IIM'
        Version = '1.8.3'
        SourcePath = 'C:\Media\agent.installer.win32.win32.x86_1.8.3000.20150606_0047.zip'
        DependsOn= "[Package]SevenZip"
    }
}
IIM
Start-DscConfiguration -Wait -Force -Verbose IIM