I am new to powershell deployment, and little confused with features and scopes.
We deploy feature via PowerShell. Code:
$solution="myfeature.wsp"
$path= $solutionPath + $solution
Add-SPSolution -LiteralPath $path
install-spsolution -Identity $solution -GACDeployment
WaitForJobToFinish
$FeatureID='the ID'
$Feature = Get-SPFeature -Identity $FeatureID -Site $oURL -ErrorAction SilentlyContinue
Enable-SPFeature -Identity $FeatureID -Url $oURL -Confirm:$false
Suppose if the feature scope is web level, then, what URL should we use?
Suppose the feature scope is site level and I want to activate it only for one of the webs(subsites), then what should be the URL? -Let me know if this is not feasible.