Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Powershell script to check whether SharePoint 2010 Feature is activated for a particular Sitecollection

$
0
0

 Hi Friends 

                [Powershell through object model ]

                I tried to use this one.

               $featureGuid = "8581a8a7-cf16-4770-ac54-260265"
               $Site = Get-SPsite http://localhost
               $feature = $Site.Features[$featureGuid]
               if ($feature -eq $null) { "does not activated" } else {"activate"} does not activated

                Can any body help me. Appreciated much Waiting for the answer on this....!


Sujayakumar.Ravipati [MCITP]


Viewing all articles
Browse latest Browse all 13778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>