PowerShell Script to check SQL server connectivity, version,
custering status, user permissions  SharePoint service account
requires dbcreator and securityadmin roles to setup a farm.
Often time it is neglected by the clients while provisioning the
accounts as in most cases there are two different teams involved
in this the Active Directory team and the DBA's whose manages
the SQL Server platform.  The missing right are discovered late
in stage when we are about to begin our installation which is a
show stopper and impacts the timeline. Some organization have
policies and procedures in order to get these type of rights
assigned and the DBA's would have all sort of question which
they did not bother to ask when the requirements were laid down.
Usually I follow a check list of things to be checked before we
go ahead and perform the installation and configuration. As far
as SQL Server is concerned we need to check for the following
things    1. Is SQL Server reachable. Essentially we want to
check if our WFE/AP