PS C:\Users\Administrator> stsadm.exe -o updatefarmcredentials -userlogin DC07\SQLSvc -password mycoolpassword23!
Operation completed successfully.
PS C:\Users\Administrator> stsadm.exe -o updatefarmcredentials -userlogin DC07\SPFarm -password mycoolpassword23!
Operation completed successfully.
PS C:\Users\Administrator> stsadm.exe -o updatefarmcredentials -userlogin DC07\SPSearch -password mycoolpassword23!
Operation completed successfully.
PS C:\Users\Administrator>
Saturday, November 02, 2013
SharePoint 2013 Password out of sync with Active Directory Password error
Monday, September 30, 2013
Powershell Daily Automated backup of SP 2013 Site Collections
Well the script is not elegant or pretty and does not scale well if you have thousands of site collections (but you can slightly modify this script and simply get the sp web top level farm root then iterate in a for loop aka: "for each site in sites"... - just google how to do that in sharepoint powershell if needed and you are too lazy to add in each site collection url by hand - I have done 4 below and each time I need a new one backed up I just add it manually to the script file - 3 lines)
Login to SharePoint Web Server node as SP farm admin.
Step 1: Copy the following to text file save as c:\projects\transfer\backupdaily.ps1 (rename the backup dir, site collection names, and site collection urls according your site collection needs):
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
Set-ExecutionPolicy -ExecutionPolicy "Unrestricted" -Force
$backupdir = "C:\projects\transfer\"
$mm = (Get-Date).Month
$dd = (Get-Date).Day
$yyyy = (Get-Date).Year
$hh = (Get-Date).Hour
$min = (Get-Date).Minute
$ss = (Get-Date).Second
$backupdatetime = "$mm" + "$dd" + "$yyyy" + "_" + "$hh" + "$min" + "$ss"
$backupdatetime
$backupfile = "$backupdir" + "root_" + "$backupdatetime" + ".bak"
$backupfile
Backup-SPSite -Identity "http://sdspweb01/" -Path "$backupfile" -Force -Verbose
$backupfile = "$backupdir" + "change_" + "$backupdatetime" + ".bak"
$backupfile
Backup-SPSite -Identity "http://sdspweb01/sites/change" -Path "$backupfile" -Force -Verbose
$backupfile = "$backupdir" + "assets_" + "$backupdatetime" + ".bak"
$backupfile
Backup-SPSite -Identity "http://sdspweb01/sites/assets" -Path "$backupfile" -Force -Verbose
$backupfile = "$backupdir" + "standards_" + "$backupdatetime" + ".bak"
$backupfile
Backup-SPSite -Identity "http://sdspweb01/sites/standards" -Path "$backupfile" -Force -Verbose
Step 2: You can use Windows Task Scheduler to run this powershell task on a scheduled basis: Open Administrative Tools on the SharePoint web server (any SharePoint web server node) Open Task Scheduler Create new basic task Set it daily at a certain time always (for example) For Action select Run a program For program type in: powershell -file c:\projects\transfer\backupdaily.ps1 (change to your filename and path where the powershell script is saved) If prompted a question about arguments, just click yes. Click run with highest privilege in the checkbox. Save it.
What it will do:
At the certain time each day it will create 4 (however many site collections you have) new files in the backup directory you selected.
Files will be named like "root_9302013_15451.bak" and "change_9302013_15451.bak" next day could be like: "root_10012013_15452.bak" and "change_10012013_15451.bak" (assuming I set them to fire at 3:45pm each day)
Tuesday, August 06, 2013
NetFx3 error on Windows Server 2012 installing SQL Server 2012
Tuesday, May 07, 2013
SharePoint 2013 Editions Comparison
Friday, April 12, 2013
Shredded Storage DeDuplication and RBS in SharePoint 2013
Remote Blob Storage (RBS) - to blob or not to blob
Tuesday, April 09, 2013
Find size of all sites and subsites in SharePoint
Thursday, March 28, 2013
SharePoint 2010: Error 7043 "Load control template file /_controltemplates/TaxonomyPicker.ascx failed"
Monday, February 18, 2013
SharePoint 2010 add Site Pages to your site
Ever wondered why some sites have a Site Pages library and a Site Assets library some don't?
The answer lies in a feature called Wiki Page Home Page, which is enabled by default for Team Sites in SharePoint 2010. However, other types of site templates may not activate that feature by default, and if that’s the case, those libraries won’t be there.
If you need them, you have a few options:
EASIEST BUT CHANGES YOUR HOME PAGE: Activate the “Wiki Page Home Page” feature. The feature will create those libraries and will also create a wiki page and set it as the home (welcome) page for your site.
BETTER WAY: If you only need the libraries and don’t want your home page changed, you can have SharePoint Designer 2010 create the libraries for you: Open SharePoint Designer. In the “Site Objects” pane on the left, click “Site Pages.” SP Designer will load the contents of the Site Pages library and tell you it’s empty. However, it also creates the Site Pages library for you in the process. Do the same thing for “Site Assets” (also in the Site Objects pane).
PROGRAMMATIC CHECKS: If you have code that depends on the existence of these libraries (such as a feature receiver), you can use two methods on the SPListCollection class to ensure the libraries are there: EnsureSitePagesLibrary() EnsureSiteAssetsLibrary()
Tuesday, October 23, 2012
Web Proxy Debugger for javascript css and other files
Thursday, July 19, 2012
Steve Jobs Quote - Your Time is Limited...
Wednesday, June 27, 2012
Install SharePoint 2010 without an Internet Connection
Sunday, November 20, 2011
Move a Site Collection from one content DB to another
Friday, November 18, 2011
Move Content Databases in SharePoint 2010
Tuesday, November 08, 2011
Monday, October 31, 2011
Check out this great MSN video: BCS Blog: Overview Demo
Check out this great MSN video: BCS Blog: Overview Demo
Wednesday, August 03, 2011
Meta refresh
http-equiv="refresh" content="0;URL=https://mail.lyonscg.com/owa/">
Thursday, December 02, 2010
Test post from windows live writer
Trying a new post from the recently downloaded Windows Live 2011 LiveWriter
Have a nice day!