Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Upgrading to v4.20.0 and later #250

Open
jdhitsolutions opened this issue Apr 27, 2021 · 0 comments
Open

Upgrading to v4.20.0 and later #250

jdhitsolutions opened this issue Apr 27, 2021 · 0 comments

Comments

@jdhitsolutions
Copy link
Collaborator

If you have an older version of the PSAutolab module and upgrade to v4.20.0 or later, there are a few things you might run into that you will need to manually address.

First, if you have an existing install, you can update the module. It is recommended that you not have any labs configured at the time.

Update-Module PSAutolab

You will then want to refresh your lab configurations.

Refresh-Host

This will copy the new configurations to your Autolab\Configurations folder. Any edits you may have made will be overwritten.

Beginning with v4.20.0, Windows 10 virtual machines will use the Windows 10 20H2 release (1909). This will require downloading a new ISO file the first time you run a configuration. You can manually delete the Windows 10 19H2 ISO and checksum files from Autolab\ISOs. As long as you have no Windows 10 virtual machines, you can also delete WIN10_x64_Enterprise_EN_Eval.vhdx from Autolab\MasterVirtualHardDisks.

Because the module is using a new version of the Lability module, you might need to uninstall it, especially if you are trying to run a configuration with a Windows 10 VM and get errors about trying to get the 20H2 image.

Uninstall-Module Lability -requiredversion 0.19.1

The new module version also uses a newer version of the xDhcpServer resource. If you have an older version, you may get errors in some configurations. To clean up, first check for older versions:

get-module xdhcpserver -ListAvailable

You should be able to manually uninstall anything older than 3.0.0.

Uninstall-Module xdchpserver -RequiredVersion 2.0.0.0
@jdhitsolutions jdhitsolutions pinned this issue Apr 27, 2021
@jdhitsolutions jdhitsolutions changed the title Upgrading to v4.20.0 Upgrading to v4.20.0 and later Sep 16, 2021
@pluralsight pluralsight locked and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant