I have one .wsp file which is created and deployed through visual studio in development environment.
Now am trying to move that .wsp file to testing/production environment.
I have taken one .wsp file and added/installed the .wsp in testing/production environment using powershell.
Now i tried to activate the feature with the following command
Enable-SPFeature -Identity "AddLinkToSiteSettings Feature1" -URL "http://dev01:9999"
but am get the following error
"The Feature is not a Farm Level Feature and is not found in a Site level defined by the Url"
However I can see the feature in site settings/site feature page.
Solution for this is use feature id instead of feature name.
Enable-SPFeature -Identity e4f775d5-e927-4da5-8f92-7f7ce49c3703 -URL "http://dev01:9999"