SharePoint2016Commands.psm1
# load the Microsoft.SharePoint.PowerShell PSSnapin Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue # $commands = (Get-Command -Module Microsoft.SharePoint.PowerShell).Name # Export-ModuleMember -Cmdlet $commands |