mrhaydendp / Fire-Tools

Tools for debloating and installing Google Play Services on Fire Tablets + More!
https://blog.mrhaydendp.com/fire-tools
MIT License
182 stars 12 forks source link

Fire-Tool.ps1 Error in Powershell Windows 7 #23

Closed Wiki591 closed 2 years ago

Wiki591 commented 2 years ago

Describe the bug:

The script stops with an error: "Unerwartetes Token "{" im Ausdruck oder in der Anweisung. Bei C:\Fire-Tools\Fire-Tools.ps1:202 Zeichen:24

Platform:

Device:

mrhaydendp commented 2 years ago

I haven't done any testing on Windows 7 as it's EOL, but we could try a few things. What version of Powershell do you have?

mrhaydendp commented 2 years ago

This page on the Microsoft docs shows how to list the current version of Powershell and how to update it: https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-windows-powershell?view=powershell-7.2

Wiki591 commented 2 years ago

Hi,

Thanks for your fast reaction and the link. I don't know why I didn't search by myself.

My Powershell tells me the PSVersion 2.0. Seems it is pretty old following the version history on Microsoft's pages.

I will update, try again and I will report again.

Wiki591 commented 2 years ago

Hi again,

tokk a little bit but I ran through the updates for the powershell step by step to give you the opportunity for documenting prerequisites for the scripts. And my old black brick called Lenovo X201 is a little bit kind of slow........

PS Version 2.0: doesn't work PS Version 3.0: doesn't work, too. Longer but almost similar error message compaired to 2.0 PS Version 4.0 and 5.0: Unable to test, downloads no longer available at Microsoft PS Version 5.1: works.

Thanks again for your help, Wiki