Solved

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

Posted on 2016-11-02
2
19 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
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 …
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

18 Experts available now in Live!

Get 1:1 Help Now