All Questions
8 questions
3
votes
1
answer
327
views
Cannot Extract Microsoft.Sharepoint.Client.Feature.DisplayName Property
I've written a CSOM script for Powershell (code below) to enumerate the features activated on a given site. When in the foreach loop I use $f.DefinitionId, I get a list of the feature GUIDs... however ...
1
vote
2
answers
8k
views
Reactivating feature with powershell - disable enable feature if it's active
$snapin = Get-PSSnapin | Where-Object { $_.Name -eq "Microsoft.SharePoint.Powershell" }
#This script enables a feature on every site collection on a given web app
if ($snapin -eq $null)
{
Add-...
3
votes
1
answer
9k
views
PowerShell code to add/remove, install/uninstall and enable/deactivate feature at Web, Site Collection, Web Application and Farm scope
Please can you give me the best practice PowerShell code to:-
A. Add, install and enable feature at
-Web
-Site Collection
-Web Application
-Farm scope
B. Deactivate, Uninstall and Remove ...
2
votes
2
answers
2k
views
PowerShell Script To Find Where SharePoint 2010 Features Are Activated
I want a PowerShell script to find where Features are activated in a site collection and its sites/subsites
Like for example feature "Enterprise feature"
1
vote
1
answer
900
views
Activate Content Organizer feature from code
how to activate content organizer feature from c# code or by powershell script.
I want to activate this feature on my subsite from my code ?
1
vote
1
answer
2k
views
Hide a feature in Site Collection Administration => Features area
I have a feature with webparts that needs to be activated using powershell. I need a way to either hide the feature on the Site Collection Administration => Features (under Site Settings) or to ...
1
vote
3
answers
2k
views
Cant´t activate a custom feature with PowerShell but with the GUI
I want to activate a custom feature with PowerShell on a few sites in my environment.
When I´m doing this job over the GUI, everything is perfect.
But when I´, doing it with my script, the feature ...
2
votes
2
answers
2k
views
Activate Feature in Powershell and specify custom properties
I want to activate a feature with custom properties. It is easy to do in onet.xml by providing Properties:
<Feature ID=“78277796-98D9-4276-B7D2-E3374AAC43D8“>
<Properties>
...