TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Get Active Features In A Site Collection
Guest User
Mar 27, 2017
3.3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This blog enables you to get active features in a Site Collection.
Create a ps1 extension file in a path in your local desktop. Change the highlighted part with your Site Collection.
Get - SPsite http:
//hvsp01:10641 | %
{
$results = @()
Get - SPFeature - Limit All | %
{
$feature = $_;
$featuresDefn = (Get - SPFarm).FeatureDefinitions[$_.ID];
$cc = [System.Globalization.CultureInfo]::CurrentCulture;
$obj = New - Object PSObject;
$obj | Add - Member NoteProperty Title $($featuresDefn.GetTitle($cc));
$obj | Add - Member NoteProperty ID $($feature.ID);
$obj | Add - Member NoteProperty Scope $($feature.Scope);
$obj | Add - Member NoteProperty Hidden $($feature.Hidden);
$obj | Add - Member NoteProperty Description $($featuresDefn.GetDescription($cc));
$results += $obj;
}#
$results | FT - auto;
$results | Out - GridView;
}
Open Management Shell as an administrator.
Run PS script, using the path along with the file shown below.
Here, the required output is given below.
Get Active Features
Site Collection
SharePoint
Next Recommended Reading
How To Get All Site Collection Administrators From SharePoint Online Site Collections Using PnP PowerShell