# Installing Active directory module in PowerShell 7

**URL:** <https://forums.powershell.org/t/installing-active-directory-module-in-powershell-7/13388>\
**Category:** PowerShell Help\
**Created:** [November 7, 2019, 9:14pm UTC](https://forums.powershell.org/t/installing-active-directory-module-in-powershell-7/13388 "2019-11-07T21:14:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuragyelala](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@anuragyelala](https://forums.powershell.org/u/anuragyelala)\
**Post date:** [November 7, 2019, 9:14pm UTC](https://forums.powershell.org/t/installing-active-directory-module-in-powershell-7/13388/1 "2019-11-07T21:14:50Z")

</div>

how to install active directory modules on powershell 7 verison ?

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [November 7, 2019, 9:21pm UTC](https://forums.powershell.org/t/installing-active-directory-module-in-powershell-7/13388/2 "2019-11-07T21:21:50Z")

</div>

not straight forward if you are not on a latest windows version.

> <https://twitter.com/Steve_MSFT/status/1016438391687147520>

but you can always use windows compatibility module to achieve this.

> <https://github.com/PowerShell/PowerShell/issues/6083#issuecomment-427081507>
>
> I'm just wondering what I would need to do to import the Active Directory module… into Powershell Core. I tried Import-Module ActiveDirectory but I'm sure there is more needed. 
> 
> 
> 
> \`\`\`powershell
> \> $PSVersionTable
> $PSVersionTable                                                                                                                                                                                                              
> 
> Name Value                                                                                                                                                                                                         
> \---- -----                                                                                                                                                                                                         
> PSVersion 6.0.0                                                                                                                                                                                                         
> PSEdition Core                                                                                                                                                                                                          
> GitCommitId v6.0.0                                                                                                                                                                                                        
> OS Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE\_X86\_64                                                                                                 
> Platform Unix                                                                                                                                                                                                          
> PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                                                       
> PSRemotingProtocolVersion 2.3                                                                                                                                                                                                           
> SerializationVersion 1.1.0.1                                                                                                                                                                                                       
> WSManStackVersion 3.0  
> \`\`\`

> **[WindowsCompatibility 1.0.0](https://www.powershellgallery.com/packages/WindowsCompatibility/1.0.0)**
>
> This module provides compatibility utilities that allow PowerShell Core sessions to
> invoke commands that are only available in Windows PowerShell. These utilities help you
> to discover available modules, import those modules through proxies and then...

---

<div class="post-metadata">

**Author:** ![anuragyelala](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@anuragyelala](https://forums.powershell.org/u/anuragyelala)\
**Post date:** [November 18, 2019, 11:30am UTC](https://forums.powershell.org/t/installing-active-directory-module-in-powershell-7/13388/3 "2019-11-18T11:30:15Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:31pm UTC](https://forums.powershell.org/t/installing-active-directory-module-in-powershell-7/13388/4 "2024-05-16T20:31:06Z")

</div>

Closed on May 16, 2024, 8:31pm UTC


