Thank you for the great intro article to ADS!
Would like to point out that per Microsoft, "There are two SQL Server PowerShell modules; SqlServer and SQLPS. The SqlServer module is the current PowerShell module to use." Do not use SQLPS. No support there anymore.
Also, for any SQL Server related tasks within PowerShell, use dbatools. (https://dbatools.io)
Intro here: https://octopus.com/blog/sql-server-powershell-dbatools