When you want to add an assembly from a network UNC share using the command:
$scriptPath = Split-Path ($MyInvocation.MyCommand.Path)
Add-Type -path \"$script
Re: ALIENQuake's. I've added your fix to a PS script to install the files in the correct locations.
$PSPaths = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.config','C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe.config'
$XMLCode = @"
"@
foreach($PSConfigFile in $PSPaths) {
$xmlcode | Out-File -FilePath $PSConfigFile -Encoding utf8
}