How to install the Active Directory Module for Windows Powershell

30 April,2014 by Jack Vamvas

Question: How can I install the Active Directory Module for Windows Powershell? I have  Windows 7 installed

Answer: To install the Active Directory Module for Windows PowerShell  follow these steps:

1)  Download and install the Remote Server Administration Tools ( RSAT) tools for Windows 7. Download Powershell AD module

2)  Navigate to Control Panel > Programs and Features > Turn Windows Features On or Off and select Active Directory Module for Windows PowerShell

Powershell_AD_Module

3) To activate in a Powershell script use:

 

 

Import-Module activedirectory

 

See Also

Powershell sql server security audit

How to create a SQL Server Security Audit - SQL Server DBA

Powershell - run script on all sql servers - SQL Server DBA

SQL Server - Powershell and Failed Logon attempts - SQL Server DBA


Author: Jack Vamvas (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to install the Active Directory Module for Windows Powershell


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer