Powershell not acknowledging my selection for running untrusted software

Welcome Forums General PowerShell Q&A Powershell not acknowledging my selection for running untrusted software

Viewing 2 reply threads
  • Author
    Posts
    • #228832
      Participant
      Topics: 1
      Replies: 1
      Points: 13
      Rank: Member

      I using Visual Studio Code and Azure Functions. It runs PowerShell in an integrated console
      =====> PowerShell Integrated Console <=====

      When I start my Azure Function locally it launches the integrated terminal and apparently tries to run a script.
      PowerShell asks if I really want to do this. I give it the R response, then it asks again and again again and again until it seems to run out of retries.

      Suggestions on what might cause PowerShell to not acknowledge my selection?

       

      Do you want to run software from this untrusted publisher?
      File C:\Users\corwyn\.vscode\extensions\ms-vscode.powershell-2020.4.0\modules\PowerShellEditorServices\Commands\Public\Clear-Host.ps1 is published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US and is not trusted on your system. Only run scripts from trusted publishers.
      [V] Never run [D] Do not run [R] Run once [A] Always run [?] Help (default is “Do not run”): R
      Do you want to run software from this untrusted publisher?
      File C:\Users\corwyn\.vscode\extensions\ms-vscode.powershell-2020.4.0\modules\PowerShellEditorServices\Commands\Public\ConvertFrom-ScriptExtent.ps1 is published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US and is not trusted on your system. Only run scripts from trusted publishers.
      [V] Never run [D] Do not run [R] Run once [A] Always run [?] Help (default is “Do not run”): R
      Do you want to run software from this untrusted publisher?
      File C:\Users\corwyn\.vscode\extensions\ms-vscode.powershell-2020.4.0\modules\PowerShellEditorServices\Commands\Public\ConvertTo-ScriptExtent.ps1 is published by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US and is not trusted on your system. Only run scripts from trusted publishers.
      [V] Never run [D] Do not run [R] Run once [A] Always run [?] Help (default is “Do not run”): R

    • #228850
      Participant
      Topics: 8
      Replies: 562
      Points: 2,149
      Helping Hand
      Rank: Community Hero

      Have you tried typing ‘A’?

    • #228967
      Participant
      Topics: 1
      Replies: 1
      Points: 13
      Rank: Member

      I thought I had. But, I tried it again and it worked. Either something else happened the first time OR I thought about it but did not do it (the latter is more likely.)

Viewing 2 reply threads
  • The topic ‘Powershell not acknowledging my selection for running untrusted software’ is closed to new replies.