Skip to content

Fix Emoji problems with Windows PowerShell#1

Open
diecknet wants to merge 1 commit intoMSB365:mainfrom
diecknet:fix-emoji
Open

Fix Emoji problems with Windows PowerShell#1
diecknet wants to merge 1 commit intoMSB365:mainfrom
diecknet:fix-emoji

Conversation

@diecknet
Copy link

@diecknet diecknet commented Oct 30, 2025

The script did not run for me via Windows PowerShell 5.1 on a Windows Server 2025 with Exchange Server SE RTM. The Emojis somehow broke the quotes of some strings, and I got a bunch of errors.
To fix it I replaced all Emoji occurrences that I found with using [char]::ConvertFromUtf32() and the hex code of the Emoji.

Screenshot of the errors that I got:
Screenshot 2025-10-30 18-49-45

@diecknet diecknet marked this pull request as ready for review October 30, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments