Close Menu
Tech Nova Mindset – Empower Innovation and Forward Thinking

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    How ideas of a vast censorship network moved from the online fringe to Trump policy

    August 8, 2026

    The Pivot From Tech Expert to Organizational Leader

    August 7, 2026

    Scientists Used AI to Create 16 New Viruses

    August 7, 2026
    Facebook X (Twitter) Instagram
    Trending
    • How ideas of a vast censorship network moved from the online fringe to Trump policy
    • The Pivot From Tech Expert to Organizational Leader
    • Scientists Used AI to Create 16 New Viruses
    • The Download: a censorship conspiracy theory and the first virus created by AI
    • V2X Technology Gets a 5G Cellphone Network Solution
    • AI may respond differently to bosses and subordinates
    • Sam Altman Says We’re ‘in the Singularity’ With AI. Here’s Why He’s Wrong.
    • The Hottest New AI Chatbot Is Just a Guy Answering Your Questions
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    • Home
    • Gadgets
    • Reviews
    • Tech News
    • Future Tech
    • AI & Robotics
    • How-To Guides
    • More
      • Cybersecurity
      • Startups & Innovation
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    Home»Cybersecurity»Windows PowerShell now warns when running Invoke-WebRequest scripts
    Cybersecurity

    Windows PowerShell now warns when running Invoke-WebRequest scripts

    kirklandc008@gmail.comBy kirklandc008@gmail.comDecember 9, 2025No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Windows PowerShell
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Microsoft says Windows PowerShell now warns when running scripts that use the Invoke-WebRequest cmdlet to download web content, aiming to prevent potentially risky code from executing.

    As Microsoft explains, this mitigates a high-severity PowerShell remote code execution vulnerability (CVE-2025-54100), which primarily affects enterprise or IT-managed environments that use PowerShell scripts for automation, since PowerShell scripts are not as commonly used outside such environments.

    The warning has been added to Windows PowerShell 5.1, the PowerShell version installed by default on Windows 10 and Windows 11 systems, and is designed to add the same secure web parsing process available in PowerShell 7.

    PowerShell will alert you that, without precautions, scripts contained in web pages downloaded using the “Invoke-WebRequest’ cmdlet could execute on your system. By default, if you press ‘Enter’ or select ‘No,’ the operation will be canceled, and PowerShell will suggest rerunning the command with the ‘-UseBasicParsing’ parameter for safer processing.

    When choosing ‘Yes,’ PowerShell will parse the page using the older method (full HTML parsing), allowing the content and embedded scripts to load as before. In short, selecting ‘Yes ‘means you accept the risk, while choosing ‘No’ stops the action to protect your system.

    “Windows PowerShell 5.1 now displays a security confirmation prompt when using the Invoke-WebRequest command to fetch web pages without special parameters,” Microsoft explains in a Tuesday advisory.

    “This prompt warns that scripts in the page could run during parsing and advises using the safer -UseBasicParsing parameter to avoid any script execution. Users must choose to continue or cancel the operation.”

    After you install the KB5074204 update, IT admins will see the following confirmation prompt warning of script code execution risks:


    Security Warning: Script Execution Risk
    Invoke-WebRequest parses the content of the web page. Script code in the web page might be run when the page is parsed.
    RECOMMENDED ACTION:
    Use the -UseBasicParsing switch to avoid script code execution.
    Do you want to continue?
    “`

    For additional details, see [KB5074596: PowerShell 5.1: Preventing script execution from web content](https://support.microsoft.com/help/5072034).

    To avoid having their automation scripts hang until manual confirmation, admins are advised to update their scripts to use the UseBasicParsing safe parameter explicitly.

    It’s also important to note that in PowerShell, the ‘curl’ command is aliased to the Invoke-WebRequest cmdlet, so you will also see these new warnings when running scripts invoking curl commands.

    “Most PowerShell scripts and commands that use the Invoke-WebRequest command will continue to work with little or no modification,” Microsoft noted.

    “For example, scripts that only download content or work with the response body as text or data are not affected and require no changes.”

    Broken IAM isn’t just an IT problem – the impact ripples across your whole business.

    This practical guide covers why traditional IAM practices fail to keep up with modern demands, examples of what “good” IAM looks like, and a simple checklist for building a scalable strategy.

    Get the guide

    InvokeWebRequest PowerShell running scripts warns Windows
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    kirklandc008@gmail.com
    • Website

    Related Posts

    Ransomware in 2026: More groups, more victims, no slowdown

    July 26, 2026

    The 3 types of people who will excel in the AI agent era, according to tech leaders

    July 26, 2026

    Steam forum ClickFix attacks infect gamers with XMRig cryptominers

    July 26, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Nothing CEO says phone prices are going to keep going up

    June 12, 20267 Views

    Google DeepMind Plans to Track AGI Progress With These 10 Traits of General Intelligence

    March 21, 20263 Views

    The AirPods 4 and Lego’s brick-ified Grogu are our favorite deals this week

    October 12, 20253 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Recent Posts
    • How ideas of a vast censorship network moved from the online fringe to Trump policy
    • The Pivot From Tech Expert to Organizational Leader
    • Scientists Used AI to Create 16 New Viruses
    • The Download: a censorship conspiracy theory and the first virus created by AI
    • V2X Technology Gets a 5G Cellphone Network Solution

    How ideas of a vast censorship network moved from the online fringe to Trump policy

    August 8, 2026

    The Pivot From Tech Expert to Organizational Leader

    August 7, 2026

    Scientists Used AI to Create 16 New Viruses

    August 7, 2026

    The Download: a censorship conspiracy theory and the first virus created by AI

    August 7, 2026
    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer
    © 2026 TechNovaMindset. Designed by By Pro.

    Type above and press Enter to search. Press Esc to cancel.