﻿<?xml version="1.0" encoding="UTF-8"?>
<!--RSS generated by Microsoft SharePoint Foundation RSS Generator on 5/19/2013 7:11:20 PM -->
<?xml-stylesheet type="text/xsl" href="/_layouts/RssXslt.aspx?List=9d54806e-14ca-456d-a62a-b903c9dda841" version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Ted Pattison's Blog on SharePoint 2013 Development</title>
    <link>http://blog.tedpattison.net/Lists/Posts/AllPosts.aspx</link>
    <description>The cutting-edge place to learn how to develop apps and solutions for SharePoint 2013</description>
    <lastBuildDate>Sun, 19 May 2013 23:11:20 GMT</lastBuildDate>
    <generator>Microsoft SharePoint Foundation RSS Generator</generator>
    <ttl>60</ttl>
    <language>en-US</language>
    <image>
      <title>Learn about SharePoint 2013 development on Ted Pattison's Blog: Posts</title>
      <url>http://blog.tedpattison.net/images/TPBlog_Logo.png</url>
      <link>http://blog.tedpattison.net/Lists/Posts/AllPosts.aspx</link>
    </image>
    <item>
      <title>Creating a SharePoint Server 2013 Farm using Windows PowerShell Scripts</title>
      <link>http://blog.tedpattison.net/Lists/Posts/ViewPost.aspx?ID=24</link>
      <description><![CDATA[<div><b>Body:</b> <div class="ExternalClass9950276271D946D4A874B6DB37DFB503"><p>At Critical Path Training, we have an ongoing need to build virtual machines (VMs) for our students to use as they work on the lab exercises which are part of our SharePoint 2013 training courses. Until recently, we have been configuring our student VMs using hundreds of manual steps including the creation the service applications using the Farm Configuration Wizard (FCW). We are now switching over to a process for building our VMs where we create and configure the required SharePoint Server 2013 farm using a set of PowerShell scripts. We have found this makes the building of a VM go much faster and it provides the benefit of creating a more stable and predictable environment to write and test our lab exercises.</p>  <p>Since Critical Path Training is an education company, it makes sense for us to give these script away to our students and to anyone else that wants to leverage them or to use them as an education resource to get up to speed on writing PowerShell scripts in a SharePoint 2013 environment. We have posted a zip file to our members site named <strong>SP2013FarmBuildoutScripts.zip</strong> which you can download using the The <strong>SharePoint Server 2013 Farm Build-out scripts (v1.0)</strong> link on the <a href="http://criticalpathtraining.com/MEMBERS/Pages/default.aspx">Member Downloads page</a> of the CPT website. If you download this zip file, you will find it contains five Windows PowerShell scripts and two Word documents which explain how the scripts work and how you go about running them.</p>  <p>I must acknowledge <a href="http://blog.aptillon.com/category/gary-lapointe">Gary LaPoint</a> of <a href="http://aptillon.com/">Aptillon</a>. His book titled <strong>Automating Microsoft SharePoint 2010 Administration with Windows PowerShell 2.0</strong> is still the best reading resource available today for getting up to speed on Windows PowerShell scripting and understanding how to use Windows PowerShell in SharePoint 2013 environments as well as SharePoint 2010 environments. Also, thanks to <a href="http://www.harbar.net/">Spencer Harbar</a> and his blog for providing the SharePoint community with the details required to get the User Profile Synchronization Service up and running without driving yourself crazy.</p>  <p>I wrote these PowerShell scripts knowing that many Critical Path Training students would be opening them in an effort to understand how to write the PowerShell code required to automate the creation of a SharePoint 2013 farm. I have intentionally simplified the PowerShell code required to make it easier for students to grasp what is going on upon a first read.</p>  <p>There are a few important assumptions that I used to create these scripts. First, these scripts have been written to serve more as an educational resource and not as much as an example of hardened PowerShell scripts which are ready to run in a production environment. Secondly, the SharePoint 2013 farm created by these scripts will be built on a single server. In other words, there is no logic in these scripts to deal with configuration complexity of a multi-server farm. Finally, these scripts do not automate the installation of SharePoint Server 2013 or any other product. Therefore, you must install all the required software including SQL Server 2012 with SP1, SharePoint Server 2013 and Workflow Manager before you can successfully run these scripts. </p>  <p>These scripts focus exclusively on how to configure a SharePoint farm once the product has already been installed. If you want or need to automate the installation of the SharePoint product, you should refer to Gary’s book I mentioned earlier which provides an approach and demonstrates the PowerShell code for doing so.</p></div></div>
<div><b>Category:</b> <a onclick="OpenPopUpPage('http://blog.tedpattison.net/_layouts/listform.aspx?PageType=4&ListId={D7F39705-CED9-4DBB-98D8-83C3E3A1669C}&ID=7&RootFolder=*', RefreshPage); return false;" href="http://blog.tedpattison.net/_layouts/listform.aspx?PageType=4&ListId={D7F39705-CED9-4DBB-98D8-83C3E3A1669C}&ID=7&RootFolder=*">SharePoint 2013</a>; <a onclick="OpenPopUpPage('http://blog.tedpattison.net/_layouts/listform.aspx?PageType=4&ListId={D7F39705-CED9-4DBB-98D8-83C3E3A1669C}&ID=2&RootFolder=*', RefreshPage); return false;" href="http://blog.tedpattison.net/_layouts/listform.aspx?PageType=4&ListId={D7F39705-CED9-4DBB-98D8-83C3E3A1669C}&ID=2&RootFolder=*">SharePoint Development</a>; <a onclick="OpenPopUpPage('http://blog.tedpattison.net/_layouts/listform.aspx?PageType=4&ListId={D7F39705-CED9-4DBB-98D8-83C3E3A1669C}&ID=5&RootFolder=*', RefreshPage); return false;" href="http://blog.tedpattison.net/_layouts/listform.aspx?PageType=4&ListId={D7F39705-CED9-4DBB-98D8-83C3E3A1669C}&ID=5&RootFolder=*">Critical Path Training</a></div>
<div><b>Published:</b> 4/23/2013 7:45 PM</div>
]]></description>
      <author>Ted Pattison</author>
      <category>SharePoint 2013; SharePoint Development; Critical Path Training</category>
      <pubDate>Tue, 23 Apr 2013 23:45:52 GMT</pubDate>
      <guid isPermaLink="true">http://blog.tedpattison.net/Lists/Posts/ViewPost.aspx?ID=24</guid>
    </item>
  </channel>
</rss>