Most of PowerShell is just wrappers around .NET, so why not just use .NET in the first place. Download VS Code, learn some of the .NET API, and become familiar with the documentation. You'll get a much better IDE environment, namely Intellisense, many more code examples, and integrated source control, to name a few.
I despise PowerShell. I wish Microsoft would have never released it. (Having to deal with the multiple versions of PowerShell was horrible.) It's great to have options and I believe you should use the right tool for the job, but it also causes problems by having too many options and a disparate set of tools.