What are the limitations of PowerShell 5.1 version? #201
chenxizhang
started this conversation in
Use cases
Replies: 1 comment 3 replies
-
When I use PowerShell 5.1, the result from Kimi and Zhipu contains lots of "????" string (but Azure Open AI works well for both English and Chinese). The problem cannot be solved by changing the encoding format of powershell. This issue doesn't appear in Powershell 7. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PowerShell 5.1 is the default version that comes with Windows starting from Windows 7. It can be quickly launched using the command
powershell
, and it features a blue icon.It is the last version within the major release of PowerShell 5, followed by PowerShell 6 and 7, also known as PowerShell Core. The fundamental difference between them is that PowerShell 5.1 is developed based on the .NET Framework 4.0 version.
On the other hand, PowerShell Core is developed based on .NET Core.
As such, PowerShell 5.1 can only run on Windows, hence it is also known as Windows PowerShell. PowerShell Core, however, can run cross-platform, such as on macOS and Linux without any issues, and it is called Microsoft PowerShell.
So, regarding this specific module, are there any limitations placed on version 5.1?
No! One of our goals when developing this module was to ensure compatibility with 5.1. The advantage of this approach is that Windows users already have it installed by default, eliminating the need for any additional installation steps. For this purpose, careful compatibility handling was implemented in the code, such as support for UTF-8, for which a lot of additional code was written.
There is only one feature experience that differs, which is that since 5.1 does not support streaming, when you use the
chat
command to create a desktop version of ChatGPT, you won't see the typewriter effect. However, this does not impact usability.Beta Was this translation helpful? Give feedback.
All reactions