[Script of May 1] How to add drive partitioning conditions in SCCM 2012 SP1

Script Download:  The script is available for download in Microsoft Script Browser for Windows PowerShell ISE.You need to install the Script Browser application first, and search for the script sample title.

This scripts shows how to add drive partitioning conditions in System Center 2012 Configuration Manager SP1.

Suppose you are a SCCM administrator of a large company, computers usually have different size of disks. You may want to standardize the size of operating system partition when deploying operating systems. You can achieve this goal by adding conditions to the Format and Partition Disk task sequence steps. But a task sequence, especially a MDT task sequence contains multiple steps that require you to add conditions; it’s not easy to edit the steps in task sequence editor. So you want to use a script to ease your work.

image image
 image

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery