MicrosoftDocs / PowerShell-Docs

The official PowerShell documentation sources
https://learn.microsoft.com/powershell
Other
1.99k stars 1.58k forks source link

Writing Portable Module docs are out of date #9989

Open StevenBucher98 opened 1 year ago

StevenBucher98 commented 1 year ago

Prerequisites

Links

Summary

The portable module examples are out of date and no longer seem to work.

image

The dotnet cli commands seemed to be out of date and the package template does not seem to exist anymore.

Details

It would be great to have a more concise page for creating a PowerShell cmdlet via a C# template. I am not familiar at all with .NET development or setting up C# projects so starting from the most basic level would be extremely helpful for users like me.

Suggested Fix

Update with new .NET syntax, publish new template that is available and provide more details on how to set up a C# environment to develop PowerShell cmdlets.

sdwheeler commented 1 year ago

@StevenBucher98 yeah, we need someone from the PS team to update this article.