Docteur L – François Lessard

SharePoint Architect, IT Manager and IT Specialist

  • Author:
  • Published: Jan 13th, 2012
  • Category: Administration, Configuration, Database, Servers, SQL
  • Comments: Comments Off
  •             

My personal Wiki – Or Where in the world are my favorite links

Tags: , , , , , , , ,

Don’t try to undersand this post. I’m using it to store my discovery. If you think it might help you. Be my guest.

SQL server Connectivity and SharePoint 2010
How to TroubleShoot connecting to the SQL Server Database Engine
Find active databases used by SharePoint Server 2010

Microsoft Showcases
How does Microsoft IT do it?

Utilities
Mouse without borders

 

Share on TwitterShare on LinkedInSubmit to StumbleUponDigg ThisSubmit to reddit
  • Author:
  • Published: Nov 8th, 2011
  • Category: Configuration, DNS, Domain name, Installation, PowerShell, Scripts
  • Comments: None
  •             

The Special Edition – Create a new Web Application with PowerShell – How to

Tags: , , , , , , , ,

Here’s another Special Edition post. How to create a new Web Application in SharePoint 2010 using PowerShell? Just use the following script.

# Load SharePoint 2010 CmdLets Module 
Add-PsSnapin Microsoft.SharePoint.PowerShell
# Set Variables
$SiteName = "Contoso Site"
$dns = "intranet.contoso.com"
$url = ("http://" + $dns)
$AppPool = "SharePoint - intranet.contoso.com80"
$Port = 80
$AppPoolServiceAccount = "contoso\srvshpapppool"
$ApplicationPoolAccount = Get-SPManagedAccount $AppPoolServiceAccount
$ContentDatabaseName = "SHP_2010_Intranet_Content"
$DatabaseServer = "MySQLServerName"
$SiteCollName = "Home"
$Template = "STS#0"
$Language = 1033 #Other language required the installation of the Language pack
$Owner = "contoso\myuser" 
# WebApplication Creation
New-SPWebApplication -Name $SiteName -HostHeader $SiteHostHeader -url $url -ApplicationPool $AppPool -ApplicationPoolAccount $ApplicationPoolAccount -DatabaseName $ContentDatabaseName -DatabaseServer $DatabaseServer -Port $Port 
# Site Collection Provisioning 
New-SPSite -Name $SiteName -url $url -OwnerAlias $Owner -Template $SiteCollectionTemplate -Language $Language

Requirements

Share on TwitterShare on LinkedInSubmit to StumbleUponDigg ThisSubmit to reddit

© 2011 Docteur L – François Lessard. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.

Switch to our mobile site