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

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.

主站蜘蛛池模板: 大埔区| 江都市| 东港市| 察哈| 桐城市| 秀山| 邵东县| 靖江市| 阿坝| 兴宁市| 新巴尔虎右旗| 亳州市| 溧阳市| 安仁县| 平泉县| 巫溪县| 山阴县| 如皋市| 阳信县| 平利县| 资溪县| 台东县| 如东县| 合江县| 策勒县| 通化县| 增城市| 扶沟县| 清远市| 麻栗坡县| 扬中市| 普陀区| 平潭县| 沐川县| 清河县| 呼伦贝尔市| 邵阳市| 九江市| 连城县| 磐安县| 秦皇岛市|