r/PowerShell • • Mar 04 '20

Announcing PowerShell 7.0 | PowerShell

https://devblogs.microsoft.com/powershell/announcing-powershell-7-0/?WT.mc_id=reddit-social-marouill
281 Upvotes

74 comments sorted by

View all comments

2

u/Atomic0691 Mar 05 '20

Does PowerShell 7.0 have native AD support on windows machines?

7

u/SteveL_Msft Software Engineering Manager, PowerShell Mar 05 '20

Yes on latest versions of Windows 10 or Windows Server 2016/2019 as the AD Module needed to be updated. On older Windows systems, PowerShell 7 has a new feature to load incompatible modules in Windows PowerShell 5.1 implicitly. The only functional difference is that objects returned by those cmdlets are not live meaning you can't invoke methods on them (same as any remoting object). Also, the AD PSDrive won't work as that's not supported over implicit remoting.

1

u/Snak3d0c Mar 06 '20

Next up: group policy please 🙏

2

u/Emiroda Mar 05 '20

Yes. It's been there since PowerShell 6.1.1 on Windows 10 1809 and newer.

https://www.reddit.com/r/PowerShell/comments/f6qef2/psa_activedirectory_module_works_natively_with/