+370 5 205 5502 sales@monovm.com

In this tutorial we will go through the installation of Windows Server features and roles using the PowerShell.


Apr, 19

Installing Windows Server’s Features and Roles through PowerShell.

Installing Windows Server’s Features and Roles through PowerShell.

In this tutorial we will discuss how to add Windows server’s roles via PowerShell. 

To install these features follow the steps below.

  1. Run PowerShell with Administrator access.

 Service Managment with powerShell 1

  1. By using Install-WindowsFeature command you can install every role and feature in Windows Server. The Install-WindowsFeature command structure is as follows.

Install-WindowsFeature [Feature Or Role Name] -Source [Source Address]

For example, to install DHCP we can use below command:

Install-WindowsFeature DHCP -Source wim:d:\sources\install.wim:4

By using the above command, DHCP will be installed on the server. There are a few points to note in this recipe.

Note 1: Source’s address has been started with wim phrase which means we will give a wim file address. (The wim is a file-based disk image format. It was developed by Microsoft to help deploy Windows Server)

Note2: At the end of the address, the phrase :4 has been added which point to an index of installed windows version.

Congratz! Now you are able to install these roles and features with PowerShell or Windows Server’s Core and Nano editions.

user monovm

off white hoodie

2019, Oct, 19

My spouse and i have been thrilled that Chris managed to conclude his inquiry by way of the precious recommendations he gained from your weblog. It's not at all simplistic to just find yourself giving away steps which many others may have been selling. We see we have got the writer to thank for that. The entire explanations you made, the straightforward site menu, the relationships your site assist to create - it's all overwhelming, and it's facilitating our son in addition to us recognize that that idea is brilliant, which is certainly unbelievably vital. Thanks for the whole lot!

user monovm

air max 2017

2019, Nov, 19

You made some decent factors there. I looked on the internet for the issue and found most people will go together with along with your website.

user monovm

adidas gazelle sale

2019, Dec, 19

I enjoy you because of your whole work on this blog. Debby takes pleasure in doing investigation and it is simple to grasp why. Many of us learn all concerning the powerful form you make reliable tips via the blog and therefore attract contribution from other people on this subject then my daughter is actually becoming educated a whole lot. Take advantage of the rest of the year. You're the one carrying out a really good job.

user monovm

activate nbc

2020, Jan, 20

Hello, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam comments? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me mad so any help is very much appreciated.