PoshCode Logo PowerShell Code Repository

powershell ise config by Joel Bennett 18 months ago (modification of post by Joel Bennett view diff)
diff | embed code: <script type="text/javascript" src="http://PoshCode.org/embed/2044"></script>download | new post

Enable .Net 4 and \\UNC path modules for PowerShell, PowerShell_ISE and even wsmprovhost.exe by using this app.config.
For example, save as C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe.config

  1. <configuration>
  2.         <startup useLegacyV2RuntimeActivationPolicy="true">
  3.                 <supportedRuntime version="v4.0" />
  4.                 <supportedRuntime version="v2.0" />
  5.       <process>
  6.                         <rollForward enabled="false" />
  7.                 </process>
  8.         </startup>
  9.         <runtime>
  10.                 <loadFromRemoteSources enabled="true"/>
  11.         </runtime>
  12. </configuration>

Submit a correction or amendment below (
click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:


Remember me