Microsoft hasn't published any approved PRs on their Convert-WindowsImage module in years. This is a more recent version.
Minimum PowerShell version
Artem Pronichkin and Friends
(c) 2016 . All rights reserved.
This module has no dependencies.
10.2 - Fixed to work on Windows Server
10.1 - Initial Commit - Fork of c49aa3a