Wu's Blog

Wu's Blog

My IT Adventure

“The terminal process terminated with exit code: 1” in Visual Studio Code when open PowerShell file

Written by

Wu Zheng

in

English

When you open a PowerShell file in Visual Studio Code, you may see following error:

The terminal process terminated with exit code: 1

The issue usually occurred on new provisioned system or enterprise environment with restricted security policy. The reason and solution are same like my other post: “Timed out waiting for the PowerShell extension to start” in Visual Studio Code.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
Script
←Authentication failed when clone git repository on Windows for Bitbucket
Machine Learning Basic – Calculate Euclidean Distance by PowerShell→

More posts

  • Fixing “Keyset Does Not Exist” When Adding a Node to a Windows Server Failover Cluster

    March 26, 2026
  • Visual Studio Code Could Not Resolve Python Interpreter Path

    March 22, 2026
  • Failed to run PowerCLI command

    December 5, 2025
  • Headset Mute Button is Not Sync with Microsoft Teams

    November 6, 2025

Search


Tags

Ansible Apple Automation Azure DevOps Hardware hyper-v IaaS IaC Image Life Microsoft network notes PowerCLI PowerShell Proxy public cloud Python raspberry pi Script security Server Terraform vCenter virtualization VMware VPN Windows Windows Server

Twenty Twenty-Five

Designed with WordPress