Updating to PowerShellVersion = '7.2' in module manifest.
Side note: Preview specifications are not supported in this field, showing this error:
Cannot convert value "7.2-Preview.6" to type "System.Version". Error: "Input string was not in a correct format.",
however PS 7.2.0-preview.5 can load a module with PowerShellVersion = '7.2' in module manifest just fine.
Updating to
PowerShellVersion = '7.2'
in module manifest. Side note: Preview specifications are not supported in this field, showing this error:Cannot convert value "7.2-Preview.6" to type "System.Version". Error: "Input string was not in a correct format."
, however PS7.2.0-preview.5
can load a module withPowerShellVersion = '7.2'
in module manifest just fine.