Hello,
Could someone tell me the difference between the
$site = Get-Spweb http://myserver
and the
$site = new-object Microsoft.SharePoint.SPSite("http://myserver/") ?
Both return the url of the site.
What i noticed so far, with the secound i can for example use the $site.Openweb(), but i can't with the first.
So i want to know what are they, what is the difference, and when to use the 1st or the 2nd.
I Hate Mondays