Windows Vista Forums

The form specified for the subject is not one supported or known by the specified trust provider.

  1. #1


    Max2006 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 SpecsSystem Spec

  2. #2


    Brandon Shell 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 SpecsSystem Spec

  3. #3


    Lee Holmes [MSFT] 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 SpecsSystem Spec

The form specified for the subject is not one supported or known by the specified trust provider.

Similar Threads
Thread Forum
web of trust
I see we have a 92% rating on this site from feedback on the Web Of Trust website. That is pretty good when you look at some of the others.:D
Chillout Room
Changes made to Outlook form don't stay with form when mailed.
I have a script that just about working the way I want it to. I'm using a MultiPage with 13 pages in the Outlook form. I am using checkboxes to make...
VB Script
What do I type in the POP box and the SMPT box so I can send and receive emails. My service provider is my service provider is insightbb.com
Vista mail
Start a new thread to show form - Form never shows
When I click on the OK button on the main form, I close the main form and then start a new thread to show another form. My code is below. But the...
.NET General
"Trust Not Granted" Error - Full Trust WPF Web App on a CorporateNetwork
I'm trying to create a WPF Web Application, that will ultimately run on a corporate network - in otherwords the XBAP will be executed from a...
Avalon
Web of Trust add-on
Has anyone tried Web of Trust? It's a rating system for websites that's on Mozilla's recommended list. Works with IE too. ...
System Security
no DX 10 supported driver on first DX10 supported card
I bought a brand new 8800 GTX with a big smile on my face.. Its the first GPU which supports the new DX10 in vista as you know.. opened the...
Vista General