官术网_书友最值得收藏!

Introduction

As we've seen in Chapter 1, PowerShell Scripting Methods and Creating Custom Commands, the strength of PowerShell lies in its ability to access and manipulate complex objects in SharePoint. In this chapter, we'll take a look at many more PowerShell capabilities and usage scenarios targeting enterprise content provisioning and deployment.

When setting up a new solution in your environment, you are likely to want to set it up on a test environment before rolling it out to production. In more complex scenarios, customers require the same solution to be deployed to testing, quality assurance, staging, and production environments. If your solution requires site hierarchy to be provisioned to many environments on the target system, it might be a very time consuming and error-prone task. In this chapter, we'll take a look at how you can create a reusable deployment script with PowerShell to automate your site hierarchy provisioning and solution deployment.

As your SharePoint environment is set up and used in production, periodically you will need to upgrade or install additional functionality. In this chapter, we'll cover how you can activate a set of features across multiple site collections allowing you to streamline your upgrade and solution maintenance process.

Quite often, an out-of-the-box site template is all you need for your SharePoint sites. Over time, your users request additional functionality which they would like to see in subsequent instances of their SharePoint sites. We'll take a look at exactly what's involved in automatically triggering customizations on your custom and out-of-the-box site templates. We'll also look at how you can leverage PowerShell to limit the availability of templates on your SharePoint site.

Many corporate intranets make use of workflows to manage business processes on the site. Whether you are using SharePoint or custom workflows on the site now, or planning to use it in the future, we'll see how you can associate existing workflow templates to lists and libraries within your site.

Finally, we'll see how you can automate managing the look and feel of the site using a PowerShell script.

主站蜘蛛池模板: 宜章县| 安泽县| 克拉玛依市| 江口县| 甘南县| 伊春市| 民乐县| 崇阳县| 巴中市| 黄大仙区| 三江| 新营市| 广水市| 铜山县| 南充市| 温宿县| 周宁县| 师宗县| 彭阳县| 鄢陵县| 洪江市| 锡林浩特市| 桦甸市| 仙居县| 林口县| 灵璧县| 珲春市| 双鸭山市| 孝昌县| 石棉县| 乡宁县| 潢川县| 新闻| 泸溪县| 威宁| 柞水县| 汉中市| 腾冲县| 扶风县| 潢川县| 哈巴河县|