Back to list
Verridian-ai

powershell-core-builder

by Verridian-ai

1🍴 0📅 Jan 14, 2026

SKILL.md


name: PowerShell Core Builder description: Guide and commands for building PowerShell Core on Windows from source. Use when working in the PowerShell repository.

PowerShell Core Builder Skill

This skill contains the workflows for building PowerShell on Windows targeting .NET Core.

When to use

Use this skill when:

  • You are working in the recursively cloned PowerShell/PowerShell repository.
  • You need to clean, bootstrap, build, or test the PowerShell source code.
  • You encounter build errors related to the PowerShell project.

Environment Setup

These instructions target Windows 10/Server 2012 R2+ and require:

  • Visual Studio 2019+ (Community edition works)
  • PowerShell Core 6 Beta.9+ (if using VS Code)
  • Git (configured correctly)

Build Workflows

1. Bootstrapping (Dependencies)

We use the .NET CLI. The Start-PSBootstrap function installs the correct version defined in global.json.

Import-Module ./build.psm1
Start-PSBootstrap -Scenario Dotnet
# Or call directly:
# Install-Dotnet

2. Building the Module

Use the Start-PSBuild helper function.

Standard Build:

Import-Module ./build.psm1
Start-PSBuild -Clean -PSModuleRestore -UseNuGetOrg

Note: -UseNuGetOrg is crucial if you don't have access to the private Azure Artifacts feed.

Build Output: The executable will be located at: ./src/powershell-win-core/bin/Debug/net6.0/win7-x64/publish/pwsh.exe

3. Testing

Run cross-platform Pester tests.

Import-Module ./build.psm1
Start-PSPester -UseNuGetOrg

Debugging

  • You can execute the development copy via: & (Get-PSOutput)
  • Validated on Windows 10 and Windows Server 2012 R2.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon