Connecting PowerShell To A SharePoint Site

Naimishforu
Posted by Naimishforu under PowerShell category on | Points: 40 | Views : 2215
Connectin PowerShell to a sharepoint site and storing an object in the $site variable:

$site = New-Object Microsoft.SharePoint.SPSite("http://yourwebsitename.com")

Comments or Responses

Login to post response