When running hst_image_setup.cmd (or .ps1) on Windows 11, I'm getting a bunch of errors around GetHash
Get-FileHash : The term 'Get-FileHash' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
I think it's a problem in newer PowerShell Core, as it's been mentioned in other issues, but a workaround someone found would be to add
When running hst_image_setup.cmd (or .ps1) on Windows 11, I'm getting a bunch of errors around GetHash
I think it's a problem in newer PowerShell Core, as it's been mentioned in other issues, but a workaround someone found would be to add
at the beginning of the script, as this module is WinPS compatible.
https://github.com/PowerShell/PowerShell/issues/18108#issuecomment-1545956950