Disassembler0 / Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019
MIT License
4.7k stars 1.07k forks source link

PowerShell and ampersand issues #343

Open AnyoneThere opened 4 years ago

AnyoneThere commented 4 years ago

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.

I am running PowerShell with admin priviledges. I tried changing all '&' to ("&") and it didn't work.

E3V3A commented 4 years ago

I don't understand you issue. Please be more clear what is working and what is not (and where)?