Was toying around with PowerShell and SharePoint 2010 and ran into a small issue. I need PowerShell to work with one site in a site collection… So, how do you use PowerShell to work with one site?
$spWeb = Get-SPWeb "http://sharepointed.com/SiteCollection/SP Sub Site/" #do stuff with the site. $spWeb.Dispose()