Change the "site property" web part via PS

%3CLINGO-SUB%20id%3D%22lingo-sub-1074058%22%20slang%3D%22en-US%22%3EChange%20the%20%22site%20property%22%20web%20part%20via%20PS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1074058%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20hundreds%20of%20pages%20in%20a%20site%20page%20library.%20All%20of%20them%20have%20the%20%22site%20page%22%20web%20part%20and%20currently%20shows%20things%20like%20keywords%2C%20published%20date%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20add%20another%20field%2Fproperty%20to%20this%20web%20part%20for%20all%20pages%20-%20%22Category%22.%20Is%20it%20possible%20by%20script%20(via%20PS%20for%20example)%20to%20add%20this%20property%20to%20the%20web%20part%20instead%20to%20do%20it%20manually%20for%20each%20site%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1074058%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPoweShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I have hundreds of pages in a site page library. All of them have the "site page" web part and currently shows things like keywords, published date etc.

 

I want to add another field/property to this web part for all pages - "Category". Is it possible by script (via PS for example) to add this property to the web part instead to do it manually for each site?

0 Replies