Blog

Business / Managed Services / Microsoft / SharePoint

The Benefits of Microsoft Office 365 Sharepoint

By Lauren on February 24, 2012

Sharepoint 365 is a program that lets small businesses stay organized.  There is no set up required because Microsoft does it for you.  This program gives small companies a way to stay connected with their employees and stay hands on.  It focuses on real project benefits and is easy to use.  It sets up a personal website that can be effortlessly customized for each business.  Any documents that are entered into Sharepoint can be viewed, edited, and managed throughout the company, at any place whether it be at home or at the office.  This program is a great entry way for small to medium size businesses.  Read on to see examples of how great sharepoint really is.

(continue)

Powershell / SharePoint

HOW TO Remove Sharepoint 2010 Users and Groups Using Powershell

By Peter on August 20, 2011

A recent project required me to remove several thousand obsolete users and groups from a Sharepoint 2010 Site. Instead of performing this task manually I wrote the two scripts below, which may come in handy for anyone performing a similar task.
I also built in a condition to retain groups that started with “CompanyName” (e.g. “CompanyName Extranet Members”) and user accounts that started with “COMPANY\” (e.g. “COMPANY\donald.duck”).
Here are the scripts:
Powershell Script to Delete Groups
$webURL="https://SharepointSite"
$site = new-object Microsoft.SharePoint.SPSite($webURL)
$web = $site.OpenWeb()
$groups = $web.sitegroups
$grctr=1
$GroupsToDelete = @(100)
foreach ($spgroup in $groups)
{
if ($spgroup.Name.Startswith("CompanyName"))
{
write-host "Name : ",$spgroup.Name
}
Else
{
$GroupsToDelete += $spgroup.Name
$grctr=$grctr+1
}
}
foreach ($delgroup in $GroupsToDelete)
{
write-host "Deleted : ",$delgroup
$web.SiteGroups.Remove($delgroup)
$web.Dispose()
}
write-host "Number Deleted: ",$grctr

Powershell Script to Delete Users in Sharepoint
$webURL="https://SharepointSite"
$site = new-object Microsoft.SharePoint.SPSite($webURL)
$web = $site.OpenWeb()
$webusers = $web.siteusers
$grctr=1
$UsersToDelete = @(100)
foreach ($spuser in $webusers)
{
if ($spuser.UserLogin.Startswith("COMPANY\"))
{
write-host "Name : ",$spuser.UserLogin
}
Else
{
$UsersToDelete += $spuser.UserLogin
#  write-host "Delete : ",$spuser.UserLogin
$grctr=$grctr+1
}
}
foreach ($deluser in $UsersToDelete)
{
write-host "Deleted : ",$deluser
$web.SiteUsers.Remove($deluser)
$web.Dispose()
}
write-host "Number Deleted: ",$grctr

(continue)

Amazon EC2 / SharePoint

Sharepoint Foundation 2010 on Amazon EC2

By Peter on April 19, 2011

Amazon EC2 is a great environment when you need to set up a test server. You can do it in a matter of minutes! And, as long as you turn off the server when it is not in use, it is super cheap. But there are some gotchas.

(continue)

Next Page »

Search

Twitter

Syndeo Tag Cloud

Recent Posts