Not sure what happened here. Connection sharing worked fine before a windows update. Trying to run the script again through an Administrator version of Powershell ISE and get the following for every ampersand:
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.
Not all parse errors were reported. Correct the reported errors and try again.
+ CategoryInfo : ParserError: ( , ParseException
+ FullyQualifiedErrorId : AmpersandNotAllowed
Using the following command: .\win_connection_share.ps1 -SetPwnagotchiSubnet