-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSService.ps1 - Assembly types not supported on Windows Server 2022 #43
Comments
This issue PowerShell/PowerShell#13344
This should likely either be fixed or noted. |
When I created this script, I had to insert a directive As far as I know, there's nothing in there that prevents PSService.ps1 from running with any subsequent PS version. |
Hey, thank you for creating the PSService.ps1 script! I'm trying to run the
-Setup
process and I'm getting this error. I've read the notes in the script, have searched the other issues in the repo, and have Googled it, and haven't found a workaround yet. Is this something you've seen before, or have a workaround for?Error message:
PSService.ps1: Failed to create the C:\Windows\System32\PSService.exe service stub. Both the assembly types 'ConsoleApplication' and 'WindowsApplication' are not currently supported.
Output of
$psversiontable
:OS info from System > About
Edition Windows Server 2022 Standard
Version 21H2
Installed on 2024-02-02
OS build 20348.2762
Thank you!
The text was updated successfully, but these errors were encountered: