Created
November 1, 2013 16:41
-
-
Save BartVandyck/7268154 to your computer and use it in GitHub Desktop.
PowerShell snippet to check if the SharePoint module is already loaded. If not load it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (-not$(Get-pssnapin Microsoft.SharePoint.PowerShell -erroraction "SilentlyContinue")) {Add-PSSnapin Microsoft.SharePoint.PowerShell} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment