The following PowerShell commands (using the PowerShell admin prompt) can be used on Windows Server 2019/2022 Core for installing the IIS feature:
1. Install IIS and its components:
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
or,
Install-WindowsFeature -Name Web-Server,Web-WebSockets,Web-Asp-Net,Web-Asp-Net45, Web-Mgmt-Console, Web-Mgmt-Service
2. Check for installed features:
Get-WindowsFeature
3. After installation, IIS Manager can be run by using its full path and name. The default path is:
C:\Windows\System32\inetsrv\InetMgr.exe.
PowerShell to install more IIS features
Install-WindowsFeature Web-Server Install-WindowsFeature Web-Default-Doc Install-WindowsFeature Web-Dir-Browsing Install-WindowsFeature Web-Http-Errors Install-WindowsFeature Web-Static-Content Install-WindowsFeature Web-Http-Redirect Install-WindowsFeature Web-Http-Logging Install-WindowsFeature Web-Custom-Logging Install-WindowsFeature Web-Log-Libraries Install-WindowsFeature Web-Request-Monitor Install-WindowsFeature Web-Http-Tracing Install-WindowsFeature Web-Stat-Compression Install-WindowsFeature Web-Filtering Install-WindowsFeature Web-Basic-Auth Install-WindowsFeature Web-Digest-Auth Install-WindowsFeature Web-IP-Security Install-WindowsFeature Web-Url-Auth Install-WindowsFeature Web-Windows-Auth Install-WindowsFeature Web-Net-Ext45 Install-WindowsFeature Web-Asp-Net45 Install-WindowsFeature Web-WebSockets Install-WindowsFeature Web-Mgmt-Console Install-WindowsFeature Web-Scripting-Tools Install-WindowsFeature Web-Mgmt-Service
Remote Administration
https://woshub.com/remote-iis-management-in-windows-server-2012/