Wednesday, October 26, 2011

SharePoint PowerShell My Examples

Here are some common powershell commands that I run in sharepoint

Display Build Info
$(get-spfarm).buildversion

Display your sharepoint commands user either
Get-Command -noun sp* or help *-sp*

Display our Templates
Get-SPwebtemplate

Display Service Applications and the associated application pool
Get-SPServiceApplication | select typename,applicationpool | ogv

Display Web Applications and the associated application pool
Get-SPWebApplication | select url,applicationpool | ogv

Wednesday, October 19, 2011

Convert Classic to Claims Authenitication

You need to convert your web application authentication. No Problem.

Using powershell it is simple to convert from Classic to Claims based authentication.

WARNING - irreversible process

$temp = get-spwebapplication “http://intranet.contoso.com”
$temp.useclaimsauthentication = “True”
$temp.Update()

Monday, October 10, 2011

How Big is my DB?

I get this question alot.

The most simple way is to access your SQL manangement studio and look at the properties of the DB or using powershell just copy and paste the code.

 SQL manangement Studio



More fun way is to learn more about powershell

First we list the DB, then sort and calculate size in MB, add better label and finally sort my name.  Enjoy

Get-spdatabase
Get-spdatabase | sort-object disksizerequired | Format-Table name,disksizerequired
 Get-spdatabase | sort-object disksizerequired | Format-Table name,{$_.disksizerequired/1024/1024}
 Get-spdatabase | sort-object disksizerequired  |  Format-Table name, @{label = "Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
 Get-spdatabase | sort-object name  |  Format-Table name, @{label = "Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
References

http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=193

Wednesday, October 5, 2011

SharePoint Conference 2011 - New Info

So you didn't get to attend as well.  So I am putting together a list of links found refering to the speakers and their posts.  Enjoy

Upcoming Conferences
http://www.topsharepoint.com/upcoming-sharepoint-conferences

SPC 2011 General Info
http://www.mssharepointconference.com/Pages/default.aspx

SPC 2011 Welcome Transcript
http://www.microsoft.com/Presspass/exec/kurtd/10-03-11SharePoint.mspx

SPC 2011 Keynote and Denali Demo
http://www.youtube.com/watch?v=ghVwaa81W4k
http://www.mssharepointconference.com/pages/keynote.aspx

Latest on SPC 2011
http://veroniquepalmer.wordpress.com/2011/09/25/not-attending-the-microsoft-sharepoint-conference-how-you-can-stay-in-touch-with-whats-happening-at-spc11/

Speaker List
http://www.iwkid.com/Lists/SPC11%20Speakers/AllItems.aspx

Workshare Blog
http://www.workshare.com/community/blogs/workshare/archive/2011/10/04/microsoft-sharepoint-conference-recap-of-day-1.aspx

Facebook DataView WebPart Code from SharePoint Conference
http://blogs.technet.com/b/speschka/archive/2011/10/04/facebook-dataview-webpart-code-from-sharepoint-conference.aspx

Wrapup
http://geekswithblogs.net/SoYouKnow/archive/2011/10/09/sharepoint-conference-2011-wrap-up.aspx


Videocasts
http://www.youtube.com/watch?v=KwTaPC0smCM&feature=related

Post-Conference Posts

http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=480

http://www.knowledgelake.com/resources/casestudies/Pages/sharepoint-document-imaging-case-studies.aspx#20

http://areyoureadytorock.squarespace.com/photos/