PowerShell

Script for calculating SharePoint SPWeb size

SharePoint portal in active company grows like an anthill. Setting limits of SharePoint sites can protect from problems with disk spaces, but it makes more users requests that not all the administrators like. So I think a good tone not to set limits on SharePoint sites. Read more»

SharePoint

Copy file to all SharePoint farm server using PowerShell

If you have a SharePoint Farm and you need to update only one file, for example, in LAYOUTS dir (c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\…), there’s no need to go to every server and copy file. Using PowerShell and some strings of code below you can easily do it. Read more»

SharePoint

Get List info by ID in SharePoint

Using PowerShell it’s rather easy to find information list. In messages about denied access (especially in custom SharePoint solutions) you can see in URL ID of denided list. To find-out where it is you can using this script:  Read more»

SharePoint

Add / remove user to SharePoint groups with PowerShell

In SharePoint site you can see usually a lot of groups. Sometimes administrator gets a task to add user to several groups. If it’s 3-5 groups you can do it manually, but if you need to add user to 30 groups? I’m too lazy to do it manually and too smart not do it at […] Read more»

SharePoint

How to create fake users in SharePoint with real names

While migration system and its data to SharePoint application there was a task to save logs of change from old system data. Some authors of changes have already retired – some of them are disabled in Active Directory, others – deleted at all. Read more»

SharePoint

How to add PowerShell ISE from PowerShell

Today I wanted to execute PowerShell ISE on one of SharePoint Server, but I couldn’t find it. I searched for it but on this server I haven’t installed it. I have already forgotten how to add PowerShell ISE to Windows Server 2008R2. It’s not included in default settings because PowerShell ISE is not necessary for […] Read more»

SharePoint Windows

Количество элементов в списке SharePoint с помощью PowerShell

Недавно понадобилось узнать, сколько элементов содержит список SharePoint. Почему-то SharePoint пишет о количестве элементов только тогда, когда их очень много, предупреждая о том, что надо быть внимательней и не превысить пороговое значение. Read more»

SharePoint

Count SharePoint List Items with PowerShell

Today I needed to know a quantity of SharePoint List. Somewhy SharePoint doen’t give this information using common tools. But using PowerShell it appeared to do easy. Read more»

SharePoint

Delete SharePoint sites recursively

Today I tried to delete a SharePoint site (SPWeb) with child sites inside. I tried to delete it form administrator interface but I got an error. Something was wrong with templates or site structure. So I decided to use PowerShell for SharePoint. Read more»

SharePoint

Popular Posts