CmdID / PowerShell / Cmdlets / Install
Install-WindowsFeature
Installs one or more roles, role services, or features on either the local or a specified remote server that is running Windows Server 2012 R2. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 parameters Its page in the reference
Parameters
-ComputerName, -CnSpecifies a remote computer for which this cmdlet installs one or more available rrsandf_plural.-ConfigurationFilePathSpecifies a single path to a configuration file which specifies roles and features to be installed, and any configuration parameters needed.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies a user account that has access rights to perform this action.-IncludeAllSubFeatureIndicates that the cmdlet installs all subordinate role services, and all subfeatures of parent roles, role services, or features specified by the *Name* parameter.-IncludeManagementToolsIndicates that the cmdlet installs all applicable management tools of the roles, role services, or features specified by the *Name* parameter.-LogPathSpecifies a name and path to a log file.-NameSpecifies a list of features to install.-RestartIndicates that cmdlet automatically restarts the target computer if a restart is required by the installation process for the specified roles or features.-SourceSpecifies the path to feature files, if the files are not available in the local feature store of the target computer or VHD.-VhdSpecifies the path to an offline VHD.-WhatIf, -wiShows what would happen if the cmdlet runs.