<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SPWeb - Australia and New Zealand SharePoint PFE</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/spweb/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/spweb/feed.xml</link>
    <description>Posts containing interesting findings or code/Powershell snippets from the Australia/New Zealand SharePoint Premier Field Engineer team.</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:45:51 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Running SharePoint 2010 on Windows 8 Consumer Preview</title>
      <link>https://docs.microsoft.com/archive/blogs/spweb/running-sharepoint-2010-on-windows-8-consumer-preview</link>
      <pubDate>Wed, 21 Mar 2012 01:42:00 GMT</pubDate>
      <dc:creator><![CDATA[Brendan Law]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spweb/2012/03/21/running-sharepoint-2010-on-windows-8-consumer-preview/</guid>
      <description><![CDATA[If you're a SharePoint geek and you love beta software (just like me) then you'll want to know if...]]></description>
      <content:encoded><![CDATA[<p sab="842">If you're a SharePoint geek and you love beta software (just like me) then you'll want to know if it's possible to set up SharePoint 2010 on the Windows 8 Consumer Preview.&nbsp; I'm happy to report that it is, and that it's relatively easy.&nbsp; :)</p>
<p sab="843">What you need to do is install all of the prerequisites manually, turn UAC off and then follow these instructions for getting it set up on Windows 7: <a href="http://msdn.microsoft.com/en-us/library/ee554869.aspx" sab="844">http://msdn.microsoft.com/en-us/library/ee554869.aspx</a></p>
<p sab="843">You do need to be careful about the Windows Features though, as the package manager script listed on MSDN will not install the necessary .NET 3.5 features:</p>
<p sab="997"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/29/8233.WinFeatures.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-29/8233.WinFeatures.png" sab="998"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/29/8233.WinFeatures.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/426x373/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-29/8233.WinFeatures.png" border="0" sab="999" /></a></p>
<p sab="843">&nbsp;</p>
<p sab="845">Before you can run up Central Administration, or any other SharePoint sites however, you will need to change the .NET Framework version to v2.0</p>
<p sab="846">Open up IIS Manager by hitting start and then typing inetmgr then hit enter.&nbsp; You then need to expand application pools and right click on the app pool you want to change (all SharePoint App Pools will need to run under version 2.0.50727) and click basic settings:</p>
<p sab="847"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/29/2337.AppPoolSettings.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-29/2337.AppPoolSettings.png" sab="848"><img title="IIS Manger" style="border: 0px currentColor;" alt="IIS Manger" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/29/2337.AppPoolSettings.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-29/2337.AppPoolSettings.png" sab="849" /></a></p>
<p sab="850">Once there, change the app pool from v4.0 to v2.0:</p>
<p sab="851"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/29/6138.FrameworkVersion.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-29/6138.FrameworkVersion.png" sab="852"><img width="363" height="379" style="border: 0px currentColor;" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/88/29/6138.FrameworkVersion.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-88-29/6138.FrameworkVersion.png" sab="853" /></a></p>
<p sab="854">&nbsp;After you've got it all up and running, you can then create SharePoint projects in Visual Studio, and use it for prototyping and playing around.&nbsp; I still haven't managed to get the SharePoint PowerShell cmdlets to work as yet, since PowerShell runs against the v4 framework.&nbsp; If anyone has any hints about this, then please let me know!</p>]]></content:encoded>
    </item>
    <item>
      <title>TechEd 2011 Australia - SharePoint 2010 Monitoring and Troubleshooting</title>
      <link>https://docs.microsoft.com/archive/blogs/spweb/teched-2011-australia-sharepoint-2010-monitoring-and-troubleshooting</link>
      <pubDate>Wed, 07 Sep 2011 20:39:00 GMT</pubDate>
      <dc:creator><![CDATA[Andrew Lynes]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spweb/2011/09/07/teched-2011-australia-sharepoint-2010-monitoring-and-troubleshooting/</guid>
      <description><![CDATA[As part 2 of the "Brendan and Andrew Show" at TechEd 2011 Australia, I spoke about SharePoint 2010...]]></description>
      <content:encoded><![CDATA[<p>As part 2 of the "Brendan and Andrew Show" at TechEd 2011 Australia, I spoke about SharePoint 2010 Monitoring and Troubleshooting. Attached is a copy of my slide deck.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/8829/00/00/03/45/17/60/SharePoint%202010%20Troubleshooting%20TechEd%202011.pdf" original-url="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-8829-00-00-03-45-17-60/SharePoint-2010-Troubleshooting-TechEd-2011.pdf">SharePoint 2010 Troubleshooting TechEd 2011.pdf</a></p>]]></content:encoded>
    </item>
    <item>
      <title>TechEd 2011 Automated Farm Deployments using PowerShell</title>
      <link>https://docs.microsoft.com/archive/blogs/spweb/teched-2011-automated-farm-deployments-using-powershell</link>
      <pubDate>Tue, 30 Aug 2011 16:11:00 GMT</pubDate>
      <dc:creator><![CDATA[Brendan Law]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spweb/2011/08/30/teched-2011-automated-farm-deployments-using-powershell/</guid>
      <description><![CDATA[As promised, here is my slide deck and scripts that I used to build two SharePoint Farms on stage,...]]></description>
      <content:encoded><![CDATA[<p sab="868">As promised, here is my slide deck and scripts that I used to build two SharePoint Farms on stage, including Service Apps, and connect them by sharing certificates.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/8829/00/00/03/45/01/53/TechEd%202011.zip" original-url="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-8829-00-00-03-45-01-53/TechEd-2011.zip">TechEd 2011.zip</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Configure Service Application permissions in SharePoint 2010 using Powershell</title>
      <link>https://docs.microsoft.com/archive/blogs/spweb/configure-service-application-permissions-in-sharepoint-2010-using-powershell</link>
      <pubDate>Tue, 12 Apr 2011 21:37:00 GMT</pubDate>
      <dc:creator><![CDATA[Brendan Law]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spweb/2011/04/12/configure-service-application-permissions-in-sharepoint-2010-using-powershell/</guid>
      <description><![CDATA[I was on site with a customer last week and was tasked with tidying up their infrastrucutre build...]]></description>
      <content:encoded><![CDATA[<p>I was on site with a customer last week and was tasked with tidying up their infrastrucutre build scripts which were written in Powershell.&nbsp; The scripts themselves are pretty awesome, and if you are looking at doing this yourself, grab the AutoSPInstaller scripts from CodePlex: <a href="http://autospinstaller.codeplex.com/">http://autospinstaller.codeplex.com/</a></p>
<p>One of the issues with the scripts as they were, was that when trying to add custom user profile properties (at the point where we would try to get the UserProfileManager), we got the nice indicative error:&nbsp;"No User Profile Application available to service the request. Contact your farm administrator."&nbsp; After a quick search, I came up with this post by Steve Peschka that hit the nail on the head: <a href="http://blogs.technet.com/b/speschka/archive/2010/02/22/no-user-profile-application-available-mystery-in-sharepoint-2010.aspx">http://blogs.technet.com/b/speschka/archive/2010/02/22/no-user-profile-application-available-mystery-in-sharepoint-2010.aspx</a>&nbsp; Basically, the account the script is running as needs to be added to the Service Application's Administrators permssion, and also granted the Full Control permission under Permissions.&nbsp; (Yes, both locations)</p>
<p>My next question was: "Great!&nbsp; How do I do this in Powershell?"</p>
<p>More not-quite-so-quick searching revealed some code written by Charlie Holland:&nbsp; <a href="http://www.chaholl.com/archive/2011/02/10/programmatically-configure-service-application-permissions-in-sharepoint-2010.aspx">http://www.chaholl.com/archive/2011/02/10/programmatically-configure-service-application-permissions-in-sharepoint-2010.aspx</a>&nbsp; He had&nbsp;coded up&nbsp;an example in C#, but it was up to me to turn this into Powershell, which wasn't easy for me, so I decided to share the code for this wherever I can, including this blog.&nbsp; :)</p>
<pre class="scroll"><code>
<span style="color:#FF4500">$UserProfileApp</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#0000FF">Get-SPServiceApplication</span><span style="color:#000000">&nbsp;</span><span style="color:#000080">-Name</span><span style="color:#000000">&nbsp;</span><span style="color:#8B0000">"User Profile Service"</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#0000FF">New-SPProfileServiceApplicationProxy</span><span style="color:#000000">&nbsp;</span><span style="color:#000080">-Name</span><span style="color:#000000">&nbsp;</span><span style="color:#8B0000">"User Profile Service Proxy"</span><span style="color:#000000">&nbsp;</span><span style="color:#000080">-ServiceApplication</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$UserProfileApp</span><span style="color:#000000">&nbsp;</span><span style="color:#000080">-DefaultProxyGroup</span><br /><br /><span style="color:#000000">&nbsp;</span><span style="color:#006400">## Set permissions to the User Profile Application so that we can add user properties to it later...</span><br /><span style="color:#000000">&nbsp;</span><br /><span style="color:#008080">[System.Reflection.Assembly]</span><span style="color:#A9A9A9">::</span><span style="color:#000000">LoadWithPartialName</span><span style="color:#000000">(</span><span style="color:#8B0000">"Microsoft.SharePoint"</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><br /><span style="color:#FF4500">$spFarm</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#008080">[Microsoft.SharePoint.Administration.SPFarm]</span><span style="color:#A9A9A9">::</span><span style="color:#000000">Local</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$mgr</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#008080">[Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager]</span><span style="color:#A9A9A9">::</span><span style="color:#000000">Local</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$claim</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$mgr</span><span style="color:#A9A9A9">.</span><span style="color:#000000">ConvertIdentifierToClaim</span><span style="color:#000000">(</span><span style="color:#FF4500">$config</span><span style="color:#A9A9A9">.</span><span style="color:#000000">Farm</span><span style="color:#A9A9A9">.</span><span style="color:#000000">RemoteConnection</span><span style="color:#A9A9A9">.</span><span style="color:#000000">Username</span><span style="color:#A9A9A9">,</span><span style="color:#000000">&nbsp;</span><span style="color:#008080">[Microsoft.SharePoint.Administration.Claims.SPIdentifierTypes]</span><span style="color:#A9A9A9">::</span><span style="color:#000000">WindowsSamAccountName</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$spAclAccessRule</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#008080">[Microsoft.SharePoint.Administration.AccessControl.SPAclAccessRule``1]</span><br /><span style="color:#000000">&nbsp;</span><br /><span style="color:#FF4500">$security</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$UserProfileApp</span><span style="color:#A9A9A9">.</span><span style="color:#000000">GetAccessControl</span><span style="color:#000000">(</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$spIisWebAppRights</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#008080">[Microsoft.SharePoint.Administration.AccessControl.SPIisWebServiceApplicationRights]</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$aclAccessRule</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$spAclAccessRule</span><span style="color:#A9A9A9">.</span><span style="color:#000000">MakeGenericType</span><span style="color:#000000">(</span><span style="color:#FF4500">$spIisWebAppRights</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$actualAccessRule</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#0000FF">New-Object</span><span style="color:#000000">(</span><span style="color:#FF4500">$AclAccessRule</span><span style="color:#000000">)</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$claim</span><span style="color:#A9A9A9">,</span><span style="color:#000000">&nbsp;</span><span style="color:#8B0000">"FullControl"</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$security</span><span style="color:#A9A9A9">.</span><span style="color:#000000">AddAccessRule</span><span style="color:#000000">(</span><span style="color:#FF4500">$actualAccessRule</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><br /><span style="color:#FF4500">$UserProfileApp</span><span style="color:#A9A9A9">.</span><span style="color:#000000">SetAccessControl</span><span style="color:#000000">(</span><span style="color:#FF4500">$security</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><br /><span style="color:#FF4500">$security</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$UserProfileApp</span><span style="color:#A9A9A9">.</span><span style="color:#000000">GetAdministrationAccessControl</span><span style="color:#000000">(</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$spCentralAdminRights</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#008080">[Microsoft.SharePoint.Administration.AccessControl.SPCentralAdministrationRights]</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$aclAccessRule</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$spAclAccessRule</span><span style="color:#A9A9A9">.</span><span style="color:#000000">MakeGenericType</span><span style="color:#000000">(</span><span style="color:#FF4500">$spCentralAdminRights</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$actualAccessRule</span><span style="color:#000000">&nbsp;</span><span style="color:#A9A9A9">=</span><span style="color:#000000">&nbsp;</span><span style="color:#0000FF">New-Object</span><span style="color:#000000">(</span><span style="color:#FF4500">$AclAccessRule</span><span style="color:#000000">)</span><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$claim</span><span style="color:#A9A9A9">,</span><span style="color:#000000">&nbsp;</span><span style="color:#8B0000">"FullControl"</span><br /><span style="color:#000000">&nbsp;</span><span style="color:#FF4500">$security</span><span style="color:#A9A9A9">.</span><span style="color:#000000">AddAccessRule</span><span style="color:#000000">(</span><span style="color:#FF4500">$actualAccessRule</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><br /><span style="color:#FF4500">$UserProfileApp</span><span style="color:#A9A9A9">.</span><span style="color:#000000">SetAdministrationAccessControl</span><span style="color:#000000">(</span><span style="color:#FF4500">$security</span><span style="color:#000000">)</span><br /><span style="color:#000000">&nbsp;</span><br /><span style="color:#FF4500">$UserProfileApp</span><span style="color:#A9A9A9">.</span><span style="color:#000000">Uncache</span><span style="color:#000000">(</span><span style="color:#000000">)</span></code></pre>
<p>- Brendan Law</p>]]></content:encoded>
    </item>
  </channel>
</rss>