title: Add-Type : Could not load file or assembly on powershell 3
body: <p>I have an dll(assembly) file on the network share and want to import into powershell.<br>
  I try as follow:</p>
  
  <pre><code>PS C:\Windows\system32&gt; Add-Type -Path \\path\Netlogon\Industry\Startup\Startup.dll
  </code></pre>
  
  <p>and got</p>
  
  <pre><code>Add-Type : Could not load file or assembly 'file://\\path\Netlogon\Industry\Startup\Startup.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
  In Zeile:1 Zeichen:1
  + Add-Type -Path \\path\Netlogon\Industry\Startup\Startup.dll
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (:) [Add-Type], FileLoadException
      + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.AddTypeCommand
  </code></pre>
  
  <p>Powershell version is:</p>
  
  <pre><code>PS C:\Windows\system32&gt; $PSVersionTable
  
  Name                           Value                                                                                                                                                                                                  
  ----                           -----                                                                                                                                                                                                  
  WSManStackVersion              3.0                                                                                                                                                                                                    
  PSCompatibleVersions           {1.0, 2.0, 3.0}                                                                                                                                                                                        
  SerializationVersion           1.1.0.1                                                                                                                                                                                                
  BuildVersion                   6.2.9200.16481                                                                                                                                                                                         
  PSVersion                      3.0                                                                                                                                                                                                    
  CLRVersion                     4.0.30319.269                                                                                                                                                                                          
  PSRemotingProtocolVersion      2.2    
  </code></pre>
  
  <p>I search in internet about it, but does not found the solution at all.<br>
  I want to set:</p>
  
  <pre><code>&lt;runtime&gt;
      &lt;loadfromremotesources enabled="true"/&gt;
  &lt;/runtime&gt;
  </code></pre>
  
  <p>in the <code>powershell.exe.config</code> file, but the file does not exist in the powershell 3.<br>
  What am I doing wrong? </p>