Posts

Showing posts from December, 2012

Install SharePoint 2010 Step 1 - Setup Farm

Here is my latest PowerShell command for setting up SharePoint 2010.  Please not that you must edit the variables in the beginning of the file to match your environment.

When this command is complete you will be able to browse to the central administration web site and begin configuring your farm.

Note: the popup credential prompt is for the Farm Account.  It should be entered as domain\account.

Run each command one at a time.  Trying to run all of these in one PowerShell command can be risky.
a trick to running commands one at a time is to edit the script and use mulit-line comments to comment out the other lines.  Multi-line comments in PowerShell are:

<#
This will all
be commented out and not run.
#>

# These commands will configure a blank SharePoint 2010 farm with custom database names.  (These databases must be created in advance)

<#
These variables must be changed to suit your setup (use your own Passphrase).
Create these 2 databases on the SQL Server first and give your s…

Simple Navigation Bar

This is helpful if you need a simple navigation bar across a page.  Note: I left the header for the page in there but can be removed as the outer div and span.

      <div class="HeadingCell">
       <span class="HeadingText">Release Home</span><br/>
       <div id="navbar">
        <ul>
         <li><a href="home.aspx">Home</a></li>
         <li><a href="wb.aspx">Workbooks</a></li>
         <li><a href="ccb.aspx">CCB</a></li>
         <li><a href="dev.aspx">Development</a></li>
        </ul>
       </div>
      </div>
CSS:

.HeadingCell {width:100%; text-align:center; display:block; background-color:black;}
.HeadingText {padding-bottom:10px; white-space:nowrap; font-family:Calibri; font-size:34px; font-weight:bold; letter-spacing:2px; color:#CCC;}

/* NAVIGATION BAR STYLING */

/* Se…