Not really rocket science, but couldn't find anything on the web and needed to decompile to find the solution, so decided to drop it here. The ClientWebPartProperty does the job:
$webpart = New-Object Microsoft.SharePoint.WebPartPages.ClientWebPart
$newProperty = New-Object Microsoft.SharePoint.WebPartPages.ClientWebPartProperty
$newProperty.Name = "nameoftheproperty"
$newProperty.Value = "valueoftheproperty"
$webpart.Properties.Add($newProperty)
Don't forget the set the FeatureId, WebPartName and ProductWebId properties as explained here.
Nice reading, I love your content. This is really a fantastic and informative post. Keep it up and if you are looking for Condominiums In Texas then visit The Shoreline Condominium
ReplyDeleteYour blog is awfully appealing. I am contented with your post. I regularly read your blog and its very helpful. If you are looking for the best For Sale By Owner in ACT, then visit Sale By Home Owner. Thanks! I enjoyed this blog post.
ReplyDeleteThanks for posting this code. If you're researching for sale by owner houses for sale, we can help with that. In any case, thanks for posting the information above.
ReplyDelete
ReplyDeleteThe agency Delhi Escorts Service Agency follows a strict selection procedure and each and Call Girls in AhmedabadRussian Call Girls in Aerocity we have and There is a long list of elite customers who has blind faith in us. Haridwar Escorts Service Agency It is because of the uncompromising Ahmedabad Escorts Service Agency terms and conditions that we strictly follow to ensure highest level of privacy.Call Girls in Ahmedabad Check our other Services...
Great article by the great author, it is very massive and informative but still preaches the way to sounds like that it has some beautiful thoughts described so I really appreciate this article. Get for more information Call Girls daman
ReplyDelete