Utility/Scripts/Import-SharePointPowerShellSnapIn.ps1
if(!(Get-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue)){Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction 0 } |
if(!(Get-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue)){Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction 0 } |