HTTP to HTTPS redirects on IIS 6.x and higher (HTTPS Force)

This is the most common requirement on most of the Exchange servers hosted on IIS. The server admins configure an http to https redirect. Today I will be discussing few ways of doing this. I will keep updating this document as I find more ways to do so. I am considering OWA as a sub… Continue reading HTTP to HTTPS redirects on IIS 6.x and higher (HTTPS Force)

SharePoint Health Analyzer + Windows Eventviewer daily mailer from localhost and remotely logs via e-mail

Hello and Happy New Year After holidays break I decided to share script that I wrote the other day. The script can handle daily routine job of some of SharePoint and Windows Administrators and do all the automation. Recieved all error and warnings about entire SharePoint and Widows Servers Environments via e-mail day by day… Continue reading SharePoint Health Analyzer + Windows Eventviewer daily mailer from localhost and remotely logs via e-mail

How can I configure all Windows Installer installations to run with elevated privileges?

To run all Windows Installer installations with elevated privileges, perform the following steps: Open the relevant Group Policy Object (GPO). For example, open the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in, right-click the organizational unit (OU) or domain, select Properties, select the Group Policy tab, select the GPO, then click Edit. Expand… Continue reading How can I configure all Windows Installer installations to run with elevated privileges?

How to sort elements of array list in C#

There are numerous sort methods in the framework including ArrayList.Sort. The problem is that they are all going to sort alphabetically and not numerically. You’ll need to write a custom sorter that understands numeric sorts. Try the following (some argument checking left out for brevity) public class NumericComparer : IComparer { public int Compare(object x,… Continue reading How to sort elements of array list in C#

25 Things to Document before You Start SharePoint Migration

So you are ready for SharePoint Migration? Before starting with Migration process, You must document things on the current environment, which includes, but not limited to: Document Existing SharePoint Server’s Topology (preferably in Visio format), Roles, Hardware/Software Specifications, Installed Updates, Software installed, Language Packs, etc Prepare a List of SharePoint Web Applications, Site collections, Host… Continue reading 25 Things to Document before You Start SharePoint Migration

Remove multiple SharePoint groups listed in *csv file using Powershell

    if ((Get-PSSnapin “Microsoft.SharePoint.PowerShell” -ErrorAction SilentlyContinue) -eq $null) { Write-Host “Connect SharePoint Cmd-Let” Add-PSSnapin Microsoft.SharePoint.PowerShell } $sp = Get-SPSite ” https://mysharepoint ” $spWeb = $sp.RootWeb $csvlocation = “c:\csv\groupsDeleteList.csv” $values = Import-Csv $($csvlocation) -Delimiter “;”     $values | ForEach-Object {     if($_.group -eq $spWeb.SiteGroups[$_.group]) { $spWeb.SiteGroups.Remove($_.group) $spWeb.Update() Write-Host “Group “$_.group” Deleted!” } else… Continue reading Remove multiple SharePoint groups listed in *csv file using Powershell