Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 123649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:19:12+00:00 2026-05-11T04:19:12+00:00

I often have customer requesting changing properties, like the version history setting on all

  • 0

I often have customer requesting changing properties, like the version history setting on all document libraries on all existing sites on a farm.

So far the best solution I have been able to think of is to script it in Powershell, test the script before I run it, and then pray that I have not overlooked something critical. Is there a better and safer way?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T04:19:12+00:00Added an answer on May 11, 2026 at 4:19 am

    My personal ‘customization workflow’ is as follows:

    1. Prototype solution in PowerShell. Messy.
    2. Export my messy PowerShell command history.
    3. Paste command history into Visual Studio, do line-by-line conversion to C# (this is a mostly mechanical process, with the exception of converting pipelines)
    4. Package as a Feature deployed by a SharePoint Solution (using WSPBuilder Extensions); specifically, call my converted ‘script’ from a Feature Receiver. Also write code that undoes your customization when your Feature is deactivated.
    5. Test in dev, test in QA. 5b.If it’s a huge script with a big impact, I’ll ask our DBAs to restore a big content database into the QA db server; then I’ll attach this copy of production to our QA farm and run the script against a copy of production data. This was a crucial step for our migration from WSSv2/2003 version; I think I did four full test runs before migrating to 2007. Anyway, if you need it, you need it.
    6. Install/activate Feature in production.

    It’s a lot heavier than ‘run script on prod server,’ but if you’re looking for a ‘better’ way to push in customizations, this is the proper way to do it in SharePoint. SharePoint’s Feature and Solution frameworks are designed for this scenario.

    And yes I use PowerShell heavily for prototyping/object spelunking.

    EDIT: I didn’t mention, but you need to have a disaster recovery plan that revives all your customizations. This is where it starts to get crazy, depending on which customizations you’ve made. In your example above, the content database stores the data, but other customizations aren’t as easy to restore in a DR situation, notably with the SSP and farm-level customizations stored in the config db, or if you’ve modified the web.config or the IIS metabase.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.