Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First unexpected character #1

Open
lavanack opened this issue May 3, 2023 · 0 comments
Open

First unexpected character #1

lavanack opened this issue May 3, 2023 · 0 comments

Comments

@lavanack
Copy link

lavanack commented May 3, 2023

The first char of https://github.com/Ccmexec/PowerShell/blob/master/Customize%20TaskBar%20and%20Start%20Windows%2011/CustomizeTaskbar.ps1 is a BOM and should be removed to allow an automation directly by calling your script directly from your GitHub repo like that ;

Invoke-Expression -Command "& { $((Invoke-RestMethod https://raw.githubusercontent.com/Ccmexec/PowerShell/master/Customize%20TaskBar%20and%20Start%20Windows%2011/CustomizeTaskbar.ps1)) } -MoveStartLeft -RemoveWidgets RemoveChat -RemoveSearch -RunForExistingUsers" -Verbose

Currently is it not possible due to this first invisible character.

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

No branches or pull requests

1 participant