by jeremy@bondbyte.com | Mar 23, 2015 | Powershell, SharePoint 2013, Visual Studio
For security and availability purposes we’ve moved away from using the SharePoint Farm account for development. Adding new devs to your farm can be pretty simple if you know what tools to use. Frist, I always add my devs to the local admin group. Second you need...
by jeremy@bondbyte.com | Jan 5, 2015 | Advanced Troubleshooting, Powershell
Ever wanted to run a snippet of C# code in PowerShell? Some times this is useful for testing code in environments without requiring a full deployment of software. This can also be used and an advanced troubleshooting technique. Open a PowerShell Prompt with Elevated...
by jeremy@bondbyte.com | Jan 5, 2015 | Advanced Troubleshooting, Powershell
I was troubleshooting some third party software the other day, it was some .NET code that was written by another vendor. Their logging scheme was lacking and the error on the browser side was less than helpful. I was mulling over the problem and the thought occurred...
by jeremy@bondbyte.com | Apr 11, 2014 | Powershell, SharePoint 2013
The following PowerShell script will return Template Name and the Internal ID. $url = “http://sp2013/” $site= new-Object Microsoft.SharePoint.SPSite($url ) $loc= [System.Int32]::Parse(1033) $templates= $site.GetWebTemplates($loc) foreach ($child in $templates){...
by jeremy@bondbyte.com | Apr 11, 2014 | Powershell, SharePoint 2010, SharePoint 2013
I had a request to turn on all access requests or notifications on all sites with a web application. PowerShell is your best bet for doing these types of occasional tasks. This script will turn access requests on for all sites. Change the email address below to the...
by jeremy@bondbyte.com | Mar 12, 2014 | Powershell, SharePoint 2010, SharePoint 2013
This PowerShell script will enumerate through all sites in the collection and return any sites that contain a given group name. Replace the red text, Administrative Members with the name of the group. # Get All Web Application $webApp=Get-SPWebApplication # Get All...