Mar 02 2019 11:06 AM
When I was at #ESPC18, someone on stage said that he's missing the Module version of the Microsoft.SharePoint.PowerShell PSSnapin.
With a module we could leverage the auto-load capabilities of PowerShell. And never see this error message again what we all saw so many times:
The term 'Get-SPSite' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I created a module to cover SharePoint Server 2019 a couple of months ago:
https://www.powershellgallery.com/packages/SharePoint2019Commands
And now I'm ready with a version for SharePoint 2016 as well:
https://www.powershellgallery.com/packages/SharePoint2016Commands/