I needed to get a site collection feature activated through Powershell. Using Enable-SPFeature allows this to happen. I gave it a go:

Enable-SPFeature -identity “My Feature Name” -URL http://www.mysite.com/

Enable-SPFeature : The Feature is not a Farm Level Feature and is not found in a Site level defined by the Url http://www.mysite.com/. At line:1 char:1
+ Enable-SPFeature -identity “My Feature Name” -URL http://www.mys …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share…etEnableFeature:
   SPCmdletEnableFeature) [Enable-SPFeature], SPCmdletException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletEnableFe

The solution in this case was to swap in the feature GUID for the identity. Feature ID can be viewed by opening your feature in visual studio, and viewing the manifest.xml.

Enable-SPFeature -identity “f9ce720e-dfd6-4ad6-ab86-05bca9799673” -URL http://www.mysite.com/

Good to go


  • Wow!!! this one worked like a charm. Thank god I came across your page.