May 8, 2012

SBS Update code

--------------------------- Windows Small Business Server 2011 Standard Health Alert --------------------------- An update for Microsoft SharePoint Foundation 2010 was installed on your Small Business Server. You must now complete the installation process by running the PSConfig utility to update the SharePoint databases. If you do not run PSConfig, some features of the server may not function correctly. For information about how to run PSConfig, see Knowledge Base article 2580174 at http://go.microsoft.com/fwlink/?LinkId=226610. If you have already run PSConfig, you can ignore this message. --------------------------- OK --------------------------- Solution: 1. Open an Administrative command prompt. 2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN 3. Run .\PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures Back to the top Suggestion [3,General]: The command PSConfig.exe was not found, but does exist in the current location. Windows PowerShe ll doesn't load commands from the current location by default. If you trust this command, instead type ".\PSConfig.exe". See "get-help about_Command_Precedence" for more details. PS C:\program files\common files\Microsoft Shared\Web Server Extensions\14\BIN> .\PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures SharePoint Products Configuration Wizard version 14.0.6009.1000. Copyright (C) Microsoft Corporation 2010. All rights re served. Performing configuration task 1 of 6 Initializing SharePoint Products upgrade... Waiting to get a lock to upgrade the farm. Successfully initialized SharePoint Products upgrade. Performing configuration task 2 of 6 Initiating the upgrade sequence... Successfully initiated the upgrade sequence. Performing configuration task 3 of 6 Registering SharePoint features... Successfully installed feature C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features \ReportServerStapling\Feature.xml. Successfully registered SharePoint features. Performing configuration task 4 of 6 Installing the application content files... Installing the SharePoint Central Administration Web Application content files... Installing the SharePoint Web Application content files... Successfully installed the application content files. Performing configuration task 5 of 6 Upgrading SharePoint Products... 0.00%

May 4, 2012

robocopy my use

robocopy D:\test2 F:\backup /E /COPY:DAT /R:0 /LOG:"F:\log.txt" /FP