Great article. Just a small point being a complete beginner to Powershell....but I had a problem sourcing the scripts into Powershell. i think it came down to a syntax error in your example :
Launch PowerShell and source or dot the LibrarySmo.ps1 file using the following command:
. .\LibrarySmo.ps1
To get this step to work I had to swap the slash around i.e. . ./LibrarySmo.ps1
Just thought it was worth mentioning in case other beginners like me get stuck at that point.