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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store