diff --git a/PSAutoLab.psd1 b/PSAutoLab.psd1 index 60683aa..b230847 100644 Binary files a/PSAutoLab.psd1 and b/PSAutoLab.psd1 differ diff --git a/PSAutoLab.psm1 b/PSAutoLab.psm1 index a2d33b5..db8cd04 100644 --- a/PSAutoLab.psm1 +++ b/PSAutoLab.psm1 @@ -8,3 +8,6 @@ $ConfigurationPath = Join-Path -path $PSScriptRoot -ChildPath Configurations #declare the currently supported version of Pester #Pester v5 is incompatible with the current validation tests $PesterVersion = "4.10.1" + +#declare the currently supported version of Lability +$LabilityVersion = "0.19.1" diff --git a/README.md b/README.md index b95ee38..bea82c6 100644 --- a/README.md +++ b/README.md @@ -500,4 +500,4 @@ These are some of the items that are being considered for future updates: A complete list of enhancements can be found in [Issues](https://github.com/pluralsight/PS-AutoLab-Env/issues). -Last Updated 2020-06-16 13:30:03Z UTC +Last Updated 2020-06-29 15:57:04Z UTC diff --git a/changelog.md b/changelog.md index 871bed0..bae1314 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,20 @@ # Change Log for PSAutoLab +## 4.14.0 + +### Add + ++ Restored variable definition for `$LabilityVersion` in the psm1 file. + +### Change + ++ Modified Lability commands in `Invoke-SetupHost` to use fully qualified command name. ++ Updated -WhatIf messages in `Invoke-Setup-Host` + +### Delete + ++ none + ## 4.13.0 ## Add diff --git a/functions/public.ps1 b/functions/public.ps1 index 0f24240..af9cbb0 100644 --- a/functions/public.ps1 +++ b/functions/public.ps1 @@ -279,13 +279,13 @@ Function Invoke-SetupHost { ResourcePath = "$DestinationPath\Resources" } - Set-LabHostDefault @DirDef + Lability\Set-LabHostDefault @DirDef - $HostStatus = Test-LabHostConfiguration + $HostStatus = Lability\Test-LabHostConfiguration If (-Not $HostStatus ) { Microsoft.PowerShell.Utility\Write-Host -ForegroundColor Cyan "Starting to Initialize host and install Hyper-V" - if ($pscmdlet.shouldprocess($DirDef.ConfigurationPath)) { - Start-LabHostConfiguration -ErrorAction SilentlyContinue + if ($pscmdlet.shouldprocess($DirDef.ConfigurationPath,"Lability\Start-LabHostConfiguration")) { + Lability\Start-LabHostConfiguration -ErrorAction SilentlyContinue } }