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.   


  3. #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

  4. #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
Changes made to Outlook form don't stay with form when mailed. 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 .NET General
"Trust Not Granted" Error - Full Trust WPF Web App on a CorporateNetwork Avalon
no DX 10 supported driver on first DX10 supported card Vista General