简体   繁体   中英

In Windows Server 2008 : Powershell can't import-module ActiveDirectory

I am using Windows Server 2008 with a x64 machine and Powershell 3.0.

After searching for similar problems, I found that I have to install the patches KB969166, KB968934, KB967574, KB968930.

This was done and as a result, the "Web Service Active Directory" appeared in "services".

However, the "ActiveDirectory Module for Windows Powershell" is still not visible in "Windows Features" next to "Active Directory Tools" and "Server for NIS".

What can I do to make "ActiveDirectory Module for Windows Powershell" entry appear in "Windows Features" ?

Is it compulsory to have it in there beign checked, as I found here http://blogs.msdn.com/b/rkramesh/archive/2012/01/17/how-to-add-active-directory-module-in-powershell-in-windows-7.aspx ?

Or is there a different way to go so I can have the "ActiveDirectory" module among the list of modules that can be imported in Powershell 3.0 ?

NB : My ultimate objective is to have the command " import-module ActiveDirectory " working in powershell and not resulting in a File Not Found error.

PowerShell AD模块仅适用于Windows Server 2008 R2和(作为RSAT的一部分)适用于Windows 7,而不适用于Windows Server 2008.请参阅Technet论坛上的此主题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM