For the complete documentation index, see llms.txt. This page is also available as Markdown.

Visual Studio Code

Visual Studio Code is a lightweight, extensible code editor used for authoring and debugging PowerShell scripts for OSDeploy workflows. Both the stable and Insiders (pre-release) channels are available.

Property
Value

Publisher

Microsoft

Stable winget ID

Microsoft.VisualStudioCode

Insiders winget ID

Microsoft.VisualStudioCode.Insiders

Platform

Windows 11

Architecture

amd64 / arm64

Required by

Optional — script authoring

Status

Current

Overview

Visual Studio Code provides IntelliSense, integrated terminal, debugging, and source control for PowerShell script development. The PowerShell extension adds full language support for .ps1 files, including syntax highlighting, parameter completion, and script analysis via PSScriptAnalyzer. The Insiders channel receives updates daily and is useful for testing the latest features.

Why VS Code Is Useful for OSDeploy

  • Full PowerShell editing with parameter and module completion

  • Integrated terminal runs pwsh directly in the workspace

  • Built-in Git integration for tracking script changes

  • Extensions available for editing JSON module configuration files (module.json)


Install with OSDeploy

Both stable and Insiders editions are installed via winget.

Preview stable channel (no changes made):

Install stable channel:

Install Insiders channel:

Install both channels:

winget (App Installer) must be available. Install it from the Microsoft Store if it is not present. -DownloadOnly is not supported for winget-based components.


Manual Installation

Install stable via winget:

Install Insiders via winget:

Download from the VS Code website:

Visit https://code.visualstudio.com/download and select the Windows installer for your architecture (x64 or ARM64).

Verify the installation:


After installation, add the PowerShell extension for full language support:


Last updated

Was this helpful?