Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to Check Whether a Feature is Activated or Not?
WhatsApp
Vijay S
Jun 15
2015
1.9
k
0
0
$SiteURL = YOUR SITE URL
$featureName = FEATURE NAME WITHOUT SPACE.
$FeatureID = Get-SPFeature -Web $SiteURL | Where {$_.DisplayName -eq $featureName}
if
($FeatureID -ne $null)
{
write-Host
"Feature is in Active Mode"
}
else
{
write-Host
"Feature is in deactive Mode"
}
SharePoint
SharePoint site Feature
Up Next
How to Check Whether a Feature is Activated or Not?