Windows Server / Services, IIS & Secure Operations
Check server-role prerequisites on the actual Windows installation
A command or service can be missing because its server role or management tools were never installed on this host.
Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
Get-WindowsFeature | Where-Object Installed | Select-Object Name, DisplayName, InstallState
What the results mean
With ServerManager, this lists installed features visible on the target server. Management tools and the actual workload role are not always the same installation.
Fix the cause and check again
Compare the intended role and supported OS edition with deployment records. Add only approved required components through the normal servicing workflow.
Before changing production
Do not install every role or restart the server casually to make a troubleshooting cmdlet available.