Remove Powershell Windows after Compiling into Exe

Is it possible on the Procedure of Compiling to an EXE File, that no Powershell Window will be startet?
On other Software there is an Option like: No Powershell Window after Start of the Exe.

If you enable the “HideConsoleWindow” option in the package.psd1 file, it will hide that window: https://docs.poshtools.com/powershell-pro-tools-documentation/packaging/package.psd1

If you are using VS, you can also enable this in the project property settings under Advanced->Executable Properties

Thank you for the fast Reply.
I’m only using VS Code, so I will try to remember for the next time to edit the package.psd1.

Best Regards
Stefan