Package as exe not working VS Code

Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module

I am seeing this error “command ‘powershell.packageAsExe’ not found” which is why package as exe isn’t working. How do I fix this?

Generally means the extension isn’t running. Make sure it’s running in the bottom right that it’s ready. The POSH tools, not just the Powershell extension. If for some reason you’re running an older version of POSH tools, you’ll need to rollback the Powershell extension to roughly match, or the POSH extension won’t load from my experience.