Solved

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

Posted on 2016-11-02
2
26 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
2 Comments
 
LVL 83

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now