Hello,
I have written the following script to activate "Team Collaboration List" feature , But I get the following Error :
The string is missing the terminator: ".
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : TerminatorExpectedAtEndOfString
-----------------------------------
The Script :
$siteUrl = "http://serverName:2020"
if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null)
{
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
}
Enable-SPFeature -identity "00bfea71-4ea5-48d4-a4ad-7ea5c011abe5" –URL $subSiteURL
How Can I solve it?
ASk