Fix Windows CI build

Since Gitlab runner 17, windows batch is no longer supported (https://docs.gitlab.com/runner/shells/#windows-batch-removed). As syntax from batch and powershell differs, the windows jobs are brokens. Actually Gitlab runner 17 is installed on windows VM:

image

As Powershell Desktop will be replaced by powershell Core in future, the scripts need to be adapted to it.

Definition of Ready

  • Gitlab Runner at version >= 17
  • Powershell Core installed

Definition of Done

  • All jobs works like before (no regression)
  • Windows jobs works with Powershell Core now
Edited by Tristan Laurent