Solved

enable powershell ad module in turn windows features on or off windows 7

Posted on 2016-11-02
2
48 Views
Last Modified: 2016-11-02
adfeature.pngIn windows 7 the "Turn windows feature on or off" window how can I turn on "activate directory module for windows powershell"  with powershell or command line?
0
Comment
Question by:Roccat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 41870635
Assuming the RSAT package is already installed, you need to use dism.exe on Windows 7.
This will show you all available features:
dism.exe /online /get-features

Open in new window

The feature you're looking for is RemoteServerAdministrationTools-Roles-AD-Powershell.
You can enable it like this (the parent features must be listed as well):
dism.exe /online /enable-feature /featurename:RemoteServerAdministrationTools /featurename:RemoteServerAdministrationTools-Roles /featurename:RemoteServerAdministrationTools-Roles-AD  /featurename:RemoteServerAdministrationTools-Roles-AD-Powershell

Open in new window


Note: keep the case of the feature names exactly as posted (that is, how "get-features" will show them - they are case sensitive!
0
 

Author Closing Comment

by:Roccat
ID: 41870672
Perfect, Thank you!
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question