Microsoft has announced the general availability of the Az. PowerShell Modules.
They are compatible with PSCore, and are the future for scripting, automating Azure tasks.
The AZureRM Modules, will only receive Bugfixes, but no new features anymore.
Azure Automation will be able to use Az. Modules around March 2019
Give them a try with find-module ‚az.*‘ |install-module -scope Currentuser