Port Active Directory Module to PowerShell Core and Make Cross Platform
Active Directory is used for more than just Windows Environments. Traditionally, scripting languages, such as python, have been used in the Linux space to perform automation against Active Directory. Now that PowerShell Core 6.0.X is GA, it would be great if the Active Directory module could be ported to be compatible with PowerShell Core and made cross-platform compatible. This would enable PowerShell based Active Directory management and automation possibilities from Linux, Mac, and IoT in addition to Windows.
Currently, PSSnapin dependencies in the AD module make it impossible to use in PowerShell Core. This leaves AD as one of the few modules preventing migration to PowerShell Core 6.X. With Windows PowerShell 5.1 now viewed as complete and PowerShell Core on a modern lifecycle, Windows PowerShell 5.1 will rapidly fall behind in feature set. With the AD Module Ported to PowerShell Core, automation and management tooling can take advantage of new features and fixes in the PowerShell language.
Ken Smith commented
This is currently preventing us from migrating to PowerShell 7, because we need to be able to authenticate against AD to execute SQL scripts in a non-interactive environment. Seems like this is a bog-standard, very basic requirement, and I'm kind of surprised that PS7 doesn't support it.
Mark Kraus commented
for the Open Source point, there is another UserVoice open on that issue https://windowsserver.uservoice.com/forums/304621-active-directory/suggestions/13350033-open-source-the-activedirectory-powershell-module
If possible, this should be open sourced. AD WS seems to be a relatively simple web API that is leveraged for this module - I can't see any downside to improving the documentation around leveraging this, and it could even improve tools in languages other then PowerShell.