I am unable to complete this Exchange 2019 SU4 installation from an interactive local shell session on an Exchange 2019 CU13 mailbox server running on Windows Server 2022 Core. The SU installer halts due to it detecting a local PowerShell process running on the server. The default shell in Server 2022 Core is PowerShell, and switching to a command prompt interactive session leaves PowerShell processes running.
What is the supported method for installing Exchange SUs on Windows Server 2022 Core? Killing the running PowerShell process from the interactive CMD shell automatically re-launches a new interactive PowerShell console session. Running the SU installer remotely via a winrs session with the /silent switch generates an unhandled exception ("Unhandled Exception:Cannot read keys when either application does not have a console or when console input has been redirected from a file"). Running the SU installer silently via a 'run once' Scheduled Task seems to work, but requires significant set up to get working, as New-ScheduledTask does not configure the task to run whether or not the user is logged in, and additionally does not set the logon as a batch job right - both of which must be addressed before the task will run as intended.