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>
<Property Key=“MyProperty1“ Value=“FALSE“ />
<Property Key=“MyProperty2“ Value=“6ECFC841-7FFF-4E06-9D50-0678CC43696D“ />
<Property Key=“MyProperty3“ Value=“TRUE“ />
<Property Key=“MyProperty4“ Value=“Custom Data“/>
</Properties>
</Feature>
In Code I have seen, we can use Reflection to specify custom properties and Yaroslavs remake. How could one specify custom properties when activating feature in powershell:
Enable-SPFeature ...