Follow MonoVM
on social networks
and stay updated
with our new posts.

instagram twitter linkedin Youtube facebook telegram
+370 5 205 5502

Installing Windows Server’s Features and Roles through PowerShell

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

14 Dec, 21 by Ayden I 1 min Read

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

 Installing Windows Server’s Features and Roles through PowerShell


  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.

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.

user monovm


2020, Jan, 20

I precisely wished to say thanks yet again. I am not sure what I would have taken care of without those techniques discussed by you regarding my concern. It was the alarming crisis for me personally, nevertheless seeing your specialised approach you dealt with the issue forced me to weep over gladness. I'm happier for your help and expect you find out what an amazing job you are always providing teaching other individuals by way of your webblog. I am sure you haven't got to know all of us.

user monovm

kevin durant shoes

2020, Jan, 20

Needed to post you one very little remark to finally give thanks the moment again with the gorgeous tricks you've provided above. It is quite extremely generous of people like you to convey easily precisely what a number of us would have made available for an e-book in making some money on their own, especially considering that you could possibly have tried it in the event you decided. These things likewise served like the easy way to understand that most people have a similar eagerness the same as my own to see a great deal more related to this condition. I'm certain there are millions of more pleasurable moments ahead for individuals that browse through your site.

user monovm

supreme shirts

2020, Jan, 20

I want to express appreciation to you just for bailing me out of this particular predicament. Just after checking throughout the world-wide-web and finding opinions that were not beneficial, I thought my entire life was well over. Existing minus the strategies to the issues you've fixed by means of your entire short article is a serious case, as well as those which may have negatively affected my entire career if I had not encountered your blog. That know-how and kindness in controlling all things was vital. I'm not sure what I would've done if I hadn't encountered such a point like this. I can now look ahead to my future. Thanks for your time so much for your high quality and amazing help. I will not think twice to suggest your web blog to anybody who requires support on this topic.

user monovm


2020, Jan, 20

A lot of thanks for each of your hard work on this site. Kim loves making time for internet research and it's really easy to understand why. Many of us learn all of the dynamic form you create rewarding tips and hints through your web site and invigorate response from other individuals about this concern and our princess is really learning a great deal. Have fun with the remaining portion of the new year. You're the one carrying out a glorious job.