Wednesday, July 22, 2015

SharePoint: Get, add and remove site collection administrators

I wrote 3 simple scripts to get, add or remove site collection administrators.

Get Site Collection Administrators:
This script will run through every site collection on a web application (as long as you have the permission for that) and store the list of all site collection administrators in a .txt.

Add Site Collection Administrators:
This script will add users from an array to all site collections as admins. The result will be stored in a .txt.

Remove Site Collection Administrators:
This script will remove admins from all site collections. The result will be stored in a .txt.

Tuesday, July 14, 2015

SharePoint: Activate alternate languages

This script will go through every site collection within a web app and it will activate other supported ui cultures if multi language is supported. To support multi language on all site collections just use line #19, this will activate multilingual support.
You only have to edit line #15 "$webApp = WEBAPP". Change "WEBAPP" to the actual web application you want to crawl through.

Monday, July 6, 2015

IIS: Change the Application Pool Identity

How do you change the identity? It's really easy:
Select your Application Pool und click on Advanced Settings:
After that, simply scroll to "Process Model". Here you can select a different account. You will also need the password for this account!

JavaScript, React, Node.js and NPM - What? How to get started

So I started to look a bit into React, keep in mind that I'm actually not that good when it comes to coding, but React sounded interesting. So why not? Well... Getting started isn't as easy as in jQuery for example. I will cover some hurdles I had while I was only trying to get something up and running. You know: Hello World and stuff.

There are a couple of things you need before you can get started, first of all of course you will need React. This will come with all the basics Facebook delivers. Simply download the "Starterkit".
Other things you might need is Node.js, it comes with NPM, which you also might need. Or to put it in another way: Install Node.js to get NPM. Download the .msi if you want to use Node.js under Windows. After this is done, simply get the React tool with this command in your command-line:
npm install -g react-tools
Fun fact: You will run into some issues if you have a (corporate) proxy, but this can be solved via:
npm config set proxy
npm config set https-proxy
As I said I'm just starting with this and found those links interesting:

I'll take a further look into this and might write a little tutorial for anything interesting.