Example 3 Install-WindowsFeature -ConfigurationFilePath d:\ConfigurationFiles\ADCSConfigFile.xml On a computer named Server1, by using the credentials of a user account named \johnj99. This example installs Web Server (IIS), including all role services and applicable management tools, Example 2 Install-WindowsFeature -Name Web-Server -IncludeAllSubFeature -IncludeManagementTools -ComputerName Server1 -Credential \johnj99 By adding the WhatIf parameter, you can view the results of the This example shows what is installed with Web Server (IIS), including all role services, on aĬomputer named Server1. Examples Example 1 Install-WindowsFeature -Name Web-Server -IncludeAllSubFeature -ComputerName Server1 -WhatIf This cmdlet requires elevation you must be running a Windows PowerShell session as an administrator IncludeManagementTools parameter to your command. Install management tools such as snap-ins on a target server, you must add the Important exception: the cmdlet does not install management tools for the features by default. ThisĬmdlet works similarly to the installation of roles and features in Server Manager, with an Windows Server, or on an offline virtual hard disk (VHD) on which Windows Server is installed. The Install-WindowsFeature cmdlet installs the specified features on a computer that is running In this article Syntax Install-Windows Feature Installs one or more roles, role services, or features on either the local or a specified remote
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |