GlennJC / AL-Scripts

Developed Scripts for deploying various Labs using Automated-Lab
10 stars 3 forks source link

PSDefaultParameterValues must be defined after calling New-LabDefinition #8

Closed raandree closed 6 years ago

raandree commented 6 years ago

In SCCM Server Build.ps1 the PSDefaultParameterValues hashtable is created before calling New-LabDefinition. New-LabDefinition removes all elements from PSDefaultParameterValues related to AutomatedLab (see https://github.com/AutomatedLab/AutomatedLab/blob/0e707451d6821e382c50c9bd87d978d902749b10/AutomatedLabDefinition/AutomatedLabDefinition.psm1#L593)

GlennJC commented 6 years ago

Fixed, thanks 👍