May 9, 2011
Cannot find type [Microsoft.SharePoint.SPSite]
**Issue: **New-Object : Cannot find type [Microsoft.SharePoint.SPSite]: make sure the assembly containing this type is loaded. At D:\data\Permissions.ps1:253 char:23 + $rootSite = New-Object «« Microsoft.SharePoint.SPSite($siteUrl)
Resolution:[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)
December 4, 2008
"Script Name".ps1 cannot be loaded because the execution of scripts is disabled on this system
Issue: “