Where I work, we receive several requests for site collection admin change per week, so that's something that always bothered me, since it's not a quick task to be done when you take care of a huge number of sites. That's why I managed to create this script today, it will help me (and my team) to save some time to do other more important (and more interesting) things. Here we go:
First of all, you need to create a ps file named Set-SiteCollectionAdmin.ps1...
Wednesday, October 19, 2011
Script to change Site Collection Administrators in SharePoint 2007 with PowerShell
Ler o texto inteiro ►
Batch process in PowerShell - Get-Content and Import-CSV cmdlets
One of the most important, easy and useful things I see in PowerShell is the possibility to easily process several requests in batch, saving a lot of time. In this article I'm going to explain in this article how to get information from a TXT file and process anything with it using Get-Content cmdlet and also how to get information from a CSV file using the Import-CSV cmdlet.
Get-Content cmdlet:
PS C:\> Get-Content MyTextFile.txt
Line0 ...
Labels:
PowerShell
Tuesday, October 18, 2011
Developing a PowerShell Script for SharePoint 2007
Since I started working with SharePoint infrastructure and administration, I've been thinking on a solution to automatize some daily tasks that ever since I was able only to perform either via Central Administration or STSADM command.
So today, I started studying how to work with PowerShell scripting for SharePoint, and it seems to be pretty easy and cool :)
The first thing you must do so PowerShell can access SharePoint assemblies is to load them...
Monday, October 10, 2011
OCS Conversation History saved on the wrong mailbox
These days I've been working on an issue related to the OCS Conversation History, and where it was saving its instant messaging records. The user in case has an additional mailbox set in Outlook and Communicator was saving all conversation histories in the additional mailbox, which can cause several problems, since the users conversation were being stored into a shared folder.
After several frustrated attempts of solving the problem, a teammate...
How to add/remove additional mailboxes in Outlook
How to add an additional mailbox in Outlook:
In Outlook 2010, Go to File > Account Settings > Account Settings...
In Outlook 2007, Tools > Account Settings...
On Account Settings window, Select Default, then click Change...
On Change Account window, click More Settings...
On Microsoft Exchange window, go to Advanced tab and click Add...
On Add Mailbox window, type the mailbox name in Add mailbox field.
Click Ok, Ok, Next, Finish.
How...
Subscribe to:
Posts (Atom)