joergi / MagPiDownloader

Open Source downloader for all the Mag Pi (Raspberry Pi) magazins on your Windows, Mac OS or Linux or with Docker
https://magpi.raspberrypi.org/
GNU General Public License v2.0
86 stars 25 forks source link

Special issues: please resolve, with powershell in windows 11 #240

Open DEMG-DEV opened 1 month ago

DEMG-DEV commented 1 month ago

when i was using the follow file magpi-special-issue-downloader.ps1 i got the error

image

i resolved changing pwsh to powershell

image

joergi commented 5 days ago

Thanks a lot, and sorry, I just see this now.

I will have a look and verify it.

joergi commented 5 days ago

If I was reading correct, pwsh should be installed on any Windows. powershell is something different right?

From chatgpt: When to use which:

Use pwsh if:
    You have PowerShell Core installed (version 6 or later).
    You need cross-platform compatibility.
    You're leveraging modern PowerShell features.
Use powershell if:
    You're working with scripts that rely on Windows-specific features or older cmdlets.
    You haven't installed PowerShell Core and want to use the built-in Windows PowerShell (version 5.1).

so, I will still use pwsh and not powershell. maybe something odd with your system? the tests also work with pwsh

please let me know if I understand something wrong @DEMG-DEV