PowerShell Cannot dot-source this command because it was defined in a different language mode

Viewed 11609

I've created a Windows application package using Visual Studio and when I run Add-AppDevPackage.ps1 script I get this error on some computers.

Cannot dot-source this command because it was defined in a different language mode. To invoke this command without importing its contents omit the '.' operator`

I feel like this has something to do with the Group Policy since the particular device is an Enterprise issued Microsoft Surface 2. I cannot make any changes to this group policy.

How do I proceed to install this application on this device?

Anything in particular I should try?

Picture of error provided by employee running in to the issue

1 Answers
Related