You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting Error Import-PowerShellDataFile: Cannot generate a PowerShell object for a ScriptBlock evaluating dynamic expressions. After Running Import-Module -Name Terminal-Icons in Microsoft.PowerShell_profile.ps1 when you host used in Thai Regional format
#125
Open
karinzaa opened this issue
Jan 16, 2024
· 0 comments
Changes regional format in your host to English (United States)
Steps to Reproduce (for bugs)
1.Set Regional format in your host to Thai.
2.Run Install-Module -Name Terminal-Icons -Repository PSGallery
3.Then Import-Module -Name Terminal-Icons in Microsoft.PowerShell_profile.ps1 savefile and open new PowerShell 7.4.1
Context
This Issue have made so that I can't use the Terminal-Icons in PowerShell 7.4.1 when you host used Thai Regional format.
Your Environment
Module version used: Terminal-Icons 0.11.0
Operating System:
Windows: 11 Pro
Version: 23H2
Installed on: 06/01/2024
OS build: 22631.3007
Experience: Windows Feature Experience Pack 1000.22681.1000.0
PowerShell version: 7.4.1
Same issue
#77 Getting Error Import-PowerShellDataFile: Cannot generate a PowerShell object for a ScriptBlock evaluating dynamic expressions. After Running Import-Module
The text was updated successfully, but these errors were encountered:
karinzaa
changed the title
Getting Error Import-PowerShellDataFile: Cannot generate a PowerShell object for a ScriptBlock evaluating dynamic expressions. After Running Import-Module when you used host in Thai Regional format
Getting Error Import-PowerShellDataFile: Cannot generate a PowerShell object for a ScriptBlock evaluating dynamic expressions. After Running Import-Module -Name Terminal-Icons in Microsoft.PowerShell_profile.ps1 when you host used in Thai Regional format
Jan 16, 2024
Expected Behavior
After import
Import-Module -Name Terminal-Icons
inMicrosoft.PowerShell_profile.ps1
in host usedThai Regional format
inPowerShell 7.4.1
.Current Behavior
Getting Error
Possible Solution
Changes regional format in your host to
English (United States)
Steps to Reproduce (for bugs)
1.Set Regional format in your host to
Thai
.2.Run
Install-Module -Name Terminal-Icons -Repository PSGallery
3.Then
Import-Module -Name Terminal-Icons
inMicrosoft.PowerShell_profile.ps1
savefile and open newPowerShell 7.4.1
Context
This Issue have made so that I can't use the Terminal-Icons in
PowerShell 7.4.1
when you host usedThai Regional format
.Your Environment
Terminal-Icons 0.11.0
7.4.1
Same issue
The text was updated successfully, but these errors were encountered: