PowerShell Cannot dot-source this command because it was defined in a different language mode
<p>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.</p>
<blockquote>
<p>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`</p>
</blockquote>
<p>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.</p>
<p>How do I proceed to install this application on this device?</p>
<p>Anything in particular I should try?</p>
<p><a href="https://i.stack.imgur.com/Ks7pu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ks7pu.jpg" alt="Picture of error provided by employee running in to the issue" /></a></p>