![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | The form specified for the subject is not one supported or known by the specified trust provider. Hi, When I attempt to execute another script from my C: drive, I use the following command: Invoke-Expression c:\hi.ps1 or simply call: &c:\hi.ps1 The Powershell gives me this error: File C:\hi.ps1 cannot be loaded. The form specified for the subject is not one supported or known by the specified trus t provider. At line:1 char:2 + &c <<<< :\hi.ps1 How can I fix that? A link to an online resource would be a great help. Thank you, Max |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: The form specified for the subject is not one supported or known by the specified trust provider. Niether of those are needed... You use those if you are executing an expression. Call the script directly PS> Path\script.ps1 you can . source if you want to launch in current context PS> . Path\Script.ps1 "Max2006" <alanalan@newsgroup.nospam> wrote in message news:uBDECroOHHA.4260@TK2MSFTNGP02.phx.gbl... > Hi, > > When I attempt to execute another script from my C: drive, I use the > following command: > > Invoke-Expression c:\hi.ps1 > > or simply call: > > &c:\hi.ps1 > > The Powershell gives me this error: > > File C:\hi.ps1 cannot be loaded. The form specified for the subject is not > one supported or known by the specified trus > t provider. > At line:1 char:2 > + &c <<<< :\hi.ps1 > > > How can I fix that? > > A link to an online resource would be a great help. > > Thank you, > Max > > |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: The form specified for the subject is not one supported or known by the specified trust provider. Hi Max; It looks like your install has been corrupted. This message comes when Windows fails to load the DLL that we use to verify the security signatures on script files. From PowerShell, the following should fix that specific error message: regsvr32 $pshome\Pwrshsip.dll However, this being broken suggests that your computer may have other problems (due to whatever broke this in the first place.) You might want to see if you can figure out what may have caused this problem so you can determine if anything else is wrong. -- Lee Holmes [MSFT] Windows PowerShell Development Microsoft Corporation This posting is provided "AS IS" with no warranties, and confers no rights. "Brandon Shell" <tshell@mask.gmail.com> wrote in message news:e33WNEpOHHA.2312@TK2MSFTNGP04.phx.gbl... > Niether of those are needed... You use those if you are executing an > expression. > > Call the script directly > > PS> Path\script.ps1 > you can . source if you want to launch in current context > PS> . Path\Script.ps1 > > "Max2006" <alanalan@newsgroup.nospam> wrote in message > news:uBDECroOHHA.4260@TK2MSFTNGP02.phx.gbl... >> Hi, >> >> When I attempt to execute another script from my C: drive, I use the >> following command: >> >> Invoke-Expression c:\hi.ps1 >> >> or simply call: >> >> &c:\hi.ps1 >> >> The Powershell gives me this error: >> >> File C:\hi.ps1 cannot be loaded. The form specified for the subject is >> not one supported or known by the specified trus >> t provider. >> At line:1 char:2 >> + &c <<<< :\hi.ps1 >> >> >> How can I fix that? >> >> A link to an online resource would be a great help. >> >> Thank you, >> Max >> >> > |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trust WB3400T | viperaammodytes | Drivers | 7 | 4 Weeks Ago 03:47 PM |
| Web of Trust add-on | goodbird | System Security | 3 | 07-13-2008 08:34 AM |
| Trust Spacecam 360 | Robert Johnson | Vista General | 0 | 03-15-2007 10:32 AM |
| Allow - I trust this program?? | NewsReader2K | Vista General | 2 | 03-02-2007 01:16 PM |
| no DX 10 supported driver on first DX10 supported card | zaxon | Vista General | 17 | 12-05-2006 09:53 AM |