In this article I will show you how to re-start al the instances of the SharePoint Timer Service in a SharePoint farm by means of PowerShell and the Server Side Object Model. Both approaches are quite similar as you will see in the code. Let’s start :-).
Juan Carlos's profile page
About Juan Carlos
With more than 10 years of experience in the ICT sector, what best define me is the interest and knowledge of new technologies as a natural way for attending and solving customer problems and needs. My career in the TIC sector, and particularly in the .NET platform started in 2003, just after finishing my studies at the university, in the global worldwide consultancy company Accenture. There, I had the opportunity of working during 3 years in big national and international projects performing different task and roles: development of VB.NET applications, application test and deployment, management of small development teams and so on. In May 2006 I left Accenture and started a new adventure at the Microsoft Innovation Center in Cantabria (CIIN) as a Solutions Architect. In this new stage, I had the opportunity of knowing deeply a variety of Microsoft technologies such as SharePoint, Office 365, Windows Azure, Visual Studio, SQL Server Reporting Services, BizTalk, LINQ, Entity Framework, etc. At the CIIN I haved performed evangelism activities just around these technologies, and I have had the honor of belonging to one of the more specialized organizations in SharePoint in Spain. In October 2013 I joined LKS where I perform a Consultant and Solutions Architect role skilled in SharePoint and Office 365 platforms. My daily work in LKS is focused on providing SharePoint & Office 365 advice and consultancy, specialized training and evangelism in the different projects and LKS customers where I’m involved.
Posts by Juan Carlos
As you know, SharePoint Property Bags are a powerful mechanism we have available in SharePoint to create and define configuration properties at the different logical levels in the platform architecture: Farm, Web Application, Site Collection, Site, List / Document Library and Folder). SharePoint Property bags are very useful to store configuration properties such as Database connection strings, specific data for the solutions we are building, etc. Finally, It’s a best practice to use Property Bags to store and retrieve such configuration properties required by our SharePoint solutions. In this article I will so you how to create and update SharePoint Property Bags from a CSV file using PowerShell so you can automate the process of maintaining your Property Bags in your SharePoint deployment.
This time I would like to share a quick tip with you that allows you to solve typical problems you can find when working with dates in your SharePoint code: how to convert a date in ISO 8061 format to a .NET DateTime format. For instance, this situation happens when you have to update a list item field inside the code of a SharePoint event receiver and the field type to process is just a SharePoint DateTime field.
Undoubtedly, SharePoint search is one of the most powerful features available in the platform not only for the out of the box features but also for the multiple extensibility points provided. In this post we will see how we can improve the search user experience through search query suggestions imported in SharePoint using the power provided by PowerShell. Read the rest of this entry »
One of the most common administration tasks when managing a SharePoint environment is to have under control the sizes of the SharePoint content databases available in a SharePoint farm. Although there are several possibilities to get this information, I recommend you to use Windows PowerShell so you can take advantage of the features and great capabilities it provides when doing SharePoint administration task. As you will learn in this article, you can easily get the size for your SharePoint Content Databases by means of a PowerShell Script.
As SharePoint developers, sometimes we need to do some IT Pro stuff such as creating a PowerShell Scripts for doing common tasks: deploying .WSP solutions to the farm, create some auxiliary lists, etc. In order to create and execute these scripts you can use the SharePoint 2013 Management Console or the Microsoft ISE (Integrated Shell Script Environment) as your scripting tools. However, most of the time we are using Visual Studio for our programming stuff and we don’t feel happy switching from Visual Studio to the scripting tool we have chosen…so the question around the corner is if there is a way to execute PowerShell Scripts in our favorite development tool.
After some weeks where I guess SharePoint team has been very busy, we can finally say that the “real and definitive” service pack (SP) 1 for SharePoint 2013 has just arrived and it’s ready to download and install on your SharePoint deployments (Note: For your reference, I recommend you to read Stefan Goßner ’s blog post about the re-release of SharePoint 2013 SP 1. In this article I will show you one of the enhancements included as part of the SharePoint 2013 SP 1: a first integration approach between SharePoint 2013 and Yammer. Indeed, SharePoint 2013 included a first approach to real hybrid solutions where we will have out of the box the possibility of using on-premises and Office 365 features.
This time I want to share with you some tips about how to hide the SharePoint 2010 / 2013 Ribbon programmatically.
As you know, Microsoft released the March Update of the Office Developer Tools for Visual Studio 2013 a few weeks ago in the SharePoint Conference hold in Las Vegas. In this article I will show you step by step how to create a SharePoint Cloud Business App using the update project template included in the tools.
Microsoft has recently released the Service Pack (SP) 1 for SharePoint 2013. In this article I will show you how easy is to install the first SP for SharePoint 2013 and also some of the new goodies coming with the platform. Let’s start.