When I run the suggested script in powershell I get the following message:

cmdlet Add-AppxPackage at command pipeline position 1 Supply values for the following parameters: Path:

Any help would be great, thanks.