Install-WindowsFeature
→ All posts
Windows
Give your Windows server a little work to do
# in PowerShell
Install-WindowsFeature -Name DNS –IncludeManagementTools
Install-WindowsFeature -Name DHCP –IncludeManagementTools
Install-WindowsFeature -Name AD-Domain-Services –IncludeManagementTools
# see also
# notice the backtick ` for multiline commands
Get-WindowsCapability -Online | ? Name -like 'OpenSSH.Server*' | `
Add-WindowsCapability -online
Set-Service -Name "sshd" -StartupType Automatic
Start-Service sshd