Incorrect error code when you run a PowerShell script at a command prompt in Windows 7 or in Windows

Discussion in 'Knowledge Base (KB)' started by News, Nov 9, 2011.

  1. News

    News Extraordinary Robot
    News Feed

    Joined:
    Jun 27, 2006
    Messages:
    26,216
    Likes Received:
    20
    Fixes an issue in which the "echo %errorlevel%" command returns an incorrect error code. This issue occurs when you run the PowerShell script at the command prompt on a computer that is running Windows 7 or Windows Server 2008 R2.

    More...
     

Share This Page

Loading...