9.28.2012

Google Sites - Sitemap

This just proves I can learn something new every day. I never realized that google sites automatically creates a sitemap feed.

If you created your site using Google Apps, your Sitemap URL is:
http://sites.google.com/a/(your domain)/(site name)/system/feeds/sitemap 
If your site is located at http://sites.google.com/yoursite, your Sitemap URL is:
http://sites.google.com/site/(site name)/system/feeds/sitemap 

9.26.2012

SharePoint 2010 - PowerShell ISE

Run this script to add snap-in automatically to ISE when it starts up.


if (!(test-path $profile )) { 
    new-item -type file -path $profile -force 
} 
 

$cmd = 'if((Get-PSSnapin | Where-Object {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) { 
    Add-PSSnapIn "Microsoft.SharePoint.Powershell" 
}'

out-file -FilePath $profile -InputObject $cmd -Append

Run this script to perform a quick user audit.

$site = Get-SPSite http://yourservername/sites/yoursitecollection
$groups = $site.RootWeb.sitegroups
foreach ($grp in $groups) {"Group: " + $grp.name; foreach ($user in $grp.users) {"  User: " + $user.name} }
$site.Dispose()

Run this script to dump a user audit to a file.

$siteUrl = "http://yourservername/sites/yoursitecollection"
$web = Get-SPWeb $siteUrl

@(foreach ($group in $web.SiteGroups) {
  foreach($user in $group.Users) {
    $usergroup = New-Object System.Object
    $usergroup | Add-Member -type NoteProperty -name GroupName -value $group.Name
    $usergroup | Add-Member -type NoteProperty -name UserName -value $user.Name

     Write-Output $usergroup 
    }
}) | Export-Csv c:\userlist.csv -NoTypeInformation

9.11.2012

SharePoint 2010 - STSADM Shortcut

Here is an article for instructions on how to set up this shortcut:
  1. Create a shortcut on your desktop to cmd.exe (it's here: %SystemRoot%\system32\cmd.exe)
  2. Right-Click on the shortcut and select Properties so you can go edit them (our stuff is on Shortcut Tab)
  3. Change the Target to: %SystemRoot%\system32\cmd.exe /K stsadm.exe -help
  4. Change the Start in to: "C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\"
  5. Click Change Icon, and browse to stsadm to select it: C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe
  6. Click OK until all of your windows are closed.
  7. Rename your shortcut to stsadm

SharePoint 2010 - 5586 - 'proc_UpdateStatisticsNVP'.

This fix was used to attempt to correct the 5586 missing proc_UpdateStatisticsMVP
http://blog.scuzz.ca/?p=66

The two databases that need updating are:
 - SharePoint_Config
 - WSS_Search

This microsoft article basically says to ignore:
http://support.microsoft.com/kb/2635071


9.07.2012

SharePoint Colored Calendars

Some great resources for color coding calendars in sharepoint.
  • https://store.bamboosolutions.com/p-31-calendar-plus-web-part.aspx
  • http://www.kwizcom.com/sharepoint-add-ons/sharepoint-calendar-plus-web-part/overview/
  • http://techtrainingnotes.blogspot.com/2008/11/sharepoint-color-coded-calendars.html
  • http://www.orbitone.com/en/blog/archive/2010/10/25/calendar-colour-coding-in-sharepoint.aspx
  • http://techtrainingnotes.blogspot.com/2008/11/sharepoint-color-coded-calendars.html
  • http://www.w3schools.com/html/html_colornames.asp

9.05.2012

SharePoint 2010 Install Errors

Great article documented the common errors I have seen with SharePoint 2010 installation. 
http://globaljosh.wordpress.com/