Get-WindowsFeature
CautionServer roles & features
Get-WindowsFeature *<name>*
Lists/installs Windows Server roles and features — stand up DNS or file services without the wizard.
Examples
Install-WindowsFeature DNS -IncludeManagementToolsInstall the DNS role
Syntax
Get-WindowsFeature [name] / Install-WindowsFeature <name> [-IncludeManagementTools]
Before you run it
New roles expose services; plan them.
Related commands
- DISMRepair the Windows image
- Get-ServiceServices (PS)
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store