Examples/ModuleExample.psd1

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
@{
    AllNodes = @(
        @{
            NodeName = '2012R2';

            ## Array (list) of modules to inject into the VHD(X). If left empty,
            ## all modules defined in the NonNodeData\Lability\Module node will be copied.
            Lability_Module = 'PScribo';
        }
    );
    NonNodeData = @{
        Lability = @{
            ## The Module node follows the same schema as the DSCResource node (essentially they're the same!)
            Module = @(
                ## Downloads the latest published module version from the PowerShell Gallery
                @{ Name = 'PScribo' }
                ## Downloads the development branch of the Lability module directly from Github
                @{ Name = 'Lability'; Provider = 'GitHub'; Owner = 'VirtualEngine'; Branch = 'dev'; }
                ## Force a download the latest published module version from the PSGallery - every configuration run
                @{ Name = 'PSReadLine'; Latest = $true }
            )
        };
    };
};