Src/Public/Start-DscCompilation.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
function Start-DscCompilation {
<#
    .SYNOPSIS
        Starts compilation of one or more DSC configurations.
    .DESCRIPTION
        The Start-DscCompilation cmdlet can compile multiple PowerShell DSC configurations (.ps1 files), in parallel
        using jobs. Each PowerShell DSC configuration (.ps1) is loaded into a separate PowerShell.exe process, and
        called using the supplied configuration parameter hashtable to each each instance.
    .NOTES
        The Start-DscCompilation cmdlet assumes/requires that each node has its own PowerShell DSC configuration
        (.psd1) document.
    .PARAMETER Configuration
        Specifies the file path(s) to PowerShell DSC configuration (.ps1) files to compile.
    .PARAMETER InoutObject
        Specifies the file references to PowerShell DSC configuration (.ps1) files to complile.
    .PARAMETER ConfigurationData
        Specifies a PowerShell DSC configuration data hashtable or a path to an existing PowerShell DSC .psd1
        configuration document used to create the virtual machines. One virtual machine is created per node defined
        in the AllNodes array.
    .PARAMETER Path
        Specifies the directory path containing the PowerShell DSC configuration files. If this parameter is not
        specified, it defaults to the current working directory.
    .PARAMETER NodeName
        Specifies one or more node names contained in the PowerShell DSC configuration (.psd1) document to compile.
        If no node names are specified, all nodes defined within the configuration are compiled.
    .PARAMETER OutputPath
        Specifies the output path of the compiled DSC .mof file(s). If this parameter is not specified, it defaults
        to the current working directory.
    .PARAMETER AsJob
        Specifies that the cmdlet return a PowerShell job for each PowerShell DSC compilation instance. By default,
        the cmdlet will block the console until it finishes all comilation tasks.
    .EXAMPLE
        Start-DscCompilation -ConfigurationData .\config.psd1 -ConfigurationParameters @{ Credential = $credential; }

        Initiates compilation of all nodes defined in the .\config.psd1 file. For each node, the matching
        <NodeName.ps1> PowerShell DSC configuration file is loaded in to a separate PowerShell.exe process, and is
        subsequently called.

        The 'Credential' parameter is passed to each PowerShell.exe instance. The resulting PowerShell DSC .mof files
        are written out to the current working directory.
#>

    [CmdletBinding(DefaultParameterSetName = 'Configuration')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions','')]
    [OutputType([System.IO.FileInfo], [System.Management.Automation.Job])]
    param (
        [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName, ParameterSetName = 'Configuration')]
        [ValidateNotNullOrEmpty()]
        [System.String[]] $Configuration,

        [Parameter(Mandatory, ValueFromPipeline, ParameterSetName = 'InputObject')]
        [ValidateNotNullOrEmpty()]
        [System.IO.FileInfo[]] $InputObject,

        [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName, ParameterSetName = 'ConfigurationData')]
        [ValidateNotNullOrEmpty()]
        [System.String] $ConfigurationData,

        [Parameter(ValueFromPipelineByPropertyName, ParameterSetName = 'ConfigurationData')]
        [ValidateNotNullOrEmpty()]
        [System.String] $Path = (Get-Location -PSProvider Filesystem).Path,

        [Parameter(ValueFromPipelineByPropertyName, ParameterSetName = 'ConfigurationData')]
        [ValidateNotNullOrEmpty()]
        [System.String[]] $NodeName,

        [Parameter(ValueFromPipelineByPropertyName)]
        [System.Collections.Hashtable] $ConfigurationParameters,

        [Parameter(ValueFromPipelineByPropertyName)]
        [ValidateNotNullOrEmpty()]
        [System.String] $OutputPath = (Get-Location -PSProvider Filesystem).Path,

        [Parameter(ValueFromPipelineByPropertyName)]
        [System.Management.Automation.SwitchParameter] $AsJob
    )
    begin {

        if ($PSBoundParameters.ContainsKey('ConfigurationData')) {

            $ConfigurationData = Resolve-Path -Path $ConfigurationData -ErrorAction Stop;
        }

        if (-not ($PSBoundParameters.ContainsKey('ConfigurationParameters'))) {

            ## Set the output path
            $ConfigurationParameters = @{ OutputPath = $OutputPath };

            if ($PSBoundParameters.ContainsKey('ConfigurationData')) {

                $ConfigurationParameters['ConfigurationData'] = $ConfigurationData;
            }

        }
        else {

            if (($PSBoundParameters.ContainsKey('OutputPath')) -and
                ($ConfigurationParameters.ContainsKey('OutputPath'))) {

                ## OutputPath was explicitly passed and is also defined in ConfigurationParameters
                Write-Warning -Message ($localized.ExplicitOutputPathWarning -f $OutputPath);
                $ConfigurationParameters['OutputPath'] = $OutputPath;
            }
            elseif (-not ($ConfigurationParameters.ContainsKey('OutputPath'))) {

                $ConfigurationParameters['OutputPath'] = $OutputPath;
            }

            if (($ConfigurationParameters.ContainsKey('ConfigurationData')) -and
                ($PSBoundParameters.ContainsKey('ConfigurationData'))) {

                ## ConfigurationData was explicitly passed and is also defined in ConfigurationParameters
                Write-Warning -Message ($localized.ExplicitConfigurationDataWarning -f $ConfigurationData);
                $ConfigurationParameters['ConfigurationData'] = $ConfigurationData;
            }
            elseif (-not ($ConfigurationParameters.ContainsKey('ConfigurationData')) -and
                         ($PSBoundParameters.ContainsKey('ConfigurationData'))) {

                $ConfigurationParameters['ConfigurationData'] = $ConfigurationData;
            }

        }

        $filePaths = @();

    } #end begin

    process {

        if ($PSCmdlet.ParameterSetName -eq 'InputObject') {

            foreach ($object in $InputObject) {

                Write-Verbose -Message ($localized.AddingConfiguration -f $object.FullName);
                if (Test-Path -Path $object.FullName) {

                    $filePaths += $object.FullName;
                }
                else {

                    Write-Error -Message ($localized.InvalidPathError -f 'File', $nodePath);
                }
            } #end foreach configuration fileinfo

        }
        elseif ($PSCmdlet.ParameterSetName -eq 'ConfigurationData') {

            <# Can't pass a hashtable to Start-Job due to Array/ArrayList serialization/deserialization issue. Need
               to pass -ConfigurationData by file path.

                ConfigurationData parameter property AllNodes needs to be a collection.
                    + CategoryInfo : InvalidOperation: (:) [Write-Error], InvalidOperationException
                    + FullyQualifiedErrorId : ConfiguratonDataAllNodesNeedHashtable,ValidateUpdate-ConfigurationData
                    + PSComputerName : localhost
            #>

            $configData = ConvertTo-ConfigurationData -ConfigurationData $ConfigurationData;

            if (-not ($PSBoundParameters.ContainsKey('NodeName'))) {

                $nodeName = $configData.AllNodes | Where-Object { $_.NodeName -ne '*' } | ForEach-Object { $_.NodeName };
            }

            foreach ($node in $nodeName) {

                $nodePath = Join-Path -Path $Path -ChildPath "$node.ps1";
                Write-Verbose -Message ($localized.AddingConfiguration -f $nodePath);
                if (Test-Path -Path $nodePath) {

                    $filePaths += $nodePath;
                }
                else {

                    Write-Error -Message ($localized.InvalidPathError -f 'File', $nodePath);
                }
            } #end foreach node in configuration data

        }
        elseif ($PSCmdlet.ParameterSetName -eq 'Configuration') {

            foreach ($filePath in $Configuration) {

                try {
                    $resolvedFilePath = Resolve-Path -Path $filePath -ErrorAction Stop;
                    if (Test-Path -Path $resolvedFilePath) {

                        Write-Verbose -Message ($localized.AddingConfiguration -f $resolvedFilePath);
                        $filePaths += $resolvedFilePath;
                    }
                    else {

                        Write-Error -Message ($localized.InvalidPathError -f 'File', $resolvedFilePath);
                    }

                }
                catch {

                    Write-Error -Message ($localized.InvalidPathError -f 'File', $filePath);
                }

            } #end foreach configuration file path
        }

    } #end process

    end {

        if ($filePaths.Count -eq 0) {

            throw ($localized.NoConfigurationToCompileError);
        }

        $jobs = @();

        ## Start the jobs
        foreach ($filePath in $filePaths) {

            $invokeDscConfigurationCompilationParams = @{
                Configuration = $filePath;
                AsJob = $true;
            }
            if ($ConfigurationParameters.Keys.Count -gt 0) {

                $invokeDscConfigurationCompilationParams['ConfigurationParameters'] = $ConfigurationParameters;
            }
            Write-Verbose -Message ($localized.AddingCompilationJob -f $filePath);
            $jobs += Start-DscConfigurationCompilation @invokeDscConfigurationCompilationParams;

        }

        if ($AsJob) {

            return $jobs;
        }
        else {

            ## Wait for compilation to finish
            $isJobsComplete = $false;
            $completedJobs = @();

            $activity = $localized.CompilingConfigurationActivity;
            $totalPercentComplete = 0;
            $stopwatch = [System.Diagnostics.Stopwatch]::StartNew();

            while ($isJobsComplete -eq $false) {

                $isJobsComplete = $true;
                $jobPercentComplete++;

                if ($jobPercentComplete -gt 100) {

                    ## Loop progress
                    $jobPercentComplete = 1;
                }

                if ($jobPercentComplete % 2 -eq 0) {

                    ## Ensure total progresses at a different speed
                    $totalPercentComplete++;
                    if ($totalPercentComplete -gt 100) {

                        $totalPercentComplete = 1;
                    }
                }

                $elapsedTime =  $stopwatch.Elapsed.ToString('hh\:mm\:ss\.ff');
                Write-Progress -Id $pid -Activity $activity -Status $elapsedTime -PercentComplete $totalPercentComplete;

                foreach ($job in $jobs) {

                    if ($job.HasMoreData -or $job.State -eq 'Running') {

                        Write-Progress -Id $job.Id -ParentId $pid -Activity $job.Name -PercentComplete $jobPercentComplete;
                        $isJobsComplete = $false;
                        $job | Receive-Job;
                    }
                    elseif ($job.State -ne 'NotStarted') {

                        if ($job -notin $completedJobs) {

                            $elapsedTime = $stopwatch.Elapsed.ToString('hh\:mm\:ss\.ff');
                            $compilationStatus = $localized.ProcessedComilationStatus;
                            Write-Verbose -Message ("{0} '{1}' in '{2}'." -f $compilationStatus, $job.Name, $elapsedTime);
                            Write-Progress -Id $job.Id -ParentId $pid -Activity $job.Name -Completed;
                            $completedJobs += $job;
                        }
                    }

                } #end foreach job

                Start-Sleep -Milliseconds 750;

            } #end while active job(s)

            $elapsedTime = $stopwatch.Elapsed.ToString('hh\:mm\:ss\.ff');
            Write-Verbose -Message ($localized.CompletedCompilationProcessing -f $elapsedTime);
            Write-Progress -Id $pid -Activity $activity -Completed;
            $stopwatch = $null;

        } #end not job

    } #end end

} #end function

# SIG # Begin signature block
# MIIdMgYJKoZIhvcNAQcCoIIdIzCCHR8CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUdJhEG9RPnFfbvCXAdZ8pswVe
# Q/+gghfKMIIE/jCCA+agAwIBAgIQDUJK4L46iP9gQCHOFADw3TANBgkqhkiG9w0B
# AQsFADByMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYD
# VQQLExB3d3cuZGlnaWNlcnQuY29tMTEwLwYDVQQDEyhEaWdpQ2VydCBTSEEyIEFz
# c3VyZWQgSUQgVGltZXN0YW1waW5nIENBMB4XDTIxMDEwMTAwMDAwMFoXDTMxMDEw
# NjAwMDAwMFowSDELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMu
# MSAwHgYDVQQDExdEaWdpQ2VydCBUaW1lc3RhbX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