Wednesday, January 15, 2014

create a new Farm Administrator via Power Shell

create a new Farm Administrator via Power Shell

Copy the below script and paste in noted pad as .PS1

Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
# Creates a new Farm Administrator
$newFarmAdministrator = Read-Host -Prompt 'Please provide the name of the new Farm Administrator in the form of DOMAIN\Username'
$caWebApp = Get-SPWebApplication -IncludeCentralAdministration | where-object {$_.DisplayName -eq "SharePoint Central Administration v4"}
$caSite = $caWebApp.Sites[0]
$caWeb = $caSite.RootWeb

$farmAdministrators = $caWeb.SiteGroups["Farm Administrators"]
$farmAdministrators.AddUser($newFarmAdministrator, "", $newFarmAdministrator, "Configured via PowerShell")

$caWeb.Dispose()
$caSite.Dispose()

$caDB = Get-SPContentDatabase -WebApplication $caWebApp
Add-SPShellAdmin -Database $caDB -Username $newFarmAdministrator



Once copied as .PS1 run the script.


Note: The user must exist in AD before run the script.

Please Comment if you need Any Help.Your Feed back is always Welcome.I Am Happy to Help !!!!!

Vulnerabilities in Microsoft Word and Office web apps could allow remote code execution MS14-001

Vulnerabilities in Microsoft Word and Office web apps could allow remote code execution MS14-001: January 14, 2014

Link: http://technet.microsoft.com/en-us/security/bulletin/MS14-001

Known issues and additional information about this security update

The following articles contain additional information about this security update as it relates to individual product versions. The articles may contain known issue information. If this is the case, the known issue is listed below each article link.
·         2827224 MS14-001: Description of the security update for Word 2013: January 14, 2014

·         2837577 MS14-001: Description of the security update for Word Automation Services in SharePoint Server 2010: January 14, 2014

Note: After you install this security update on all SharePoint servers and SharePoint services, you have to run the PSconfig tool to complete the installation.

·         2837596 MS14-001: Description of the security update for Word Web App: January 14, 2014

·         2837615 MS14-001: Description of the security update for Office Compatibility Pack: January 14, 2014

·         2837617 MS14-001: Description of the security update for Word 2007: January 14, 2014

·         2837625 MS14-001: Description of the security update for Word Automation Services in Microsoft SharePoint Server 2013: January 14, 2014

Note After you install this security update on all SharePoint servers and SharePoint services, you have to run the PSconfig tool to complete the installation.

·         2863834 MS14-001: Description of the security update for Word 2013 primary interop assembly (PIA): January 14, 2014

·         2863866 MS14-001: Description of the security update for Word 2003: January 14, 2014

·         2863867 MS14-001: Description of the security update for Microsoft Word Viewer: January 14, 2014

·         2863879 MS14-001: Description of the security update for Office Web Apps Server 2013: January 14, 2014


·         2863901 MS14-001: Description of the security update for Microsoft Office 2010: January 14, 2014

·         2863902 MS14-001: Description of the security update for Word 2010 Service Pack 1 and Service Pack 2: January 14, 2014

ShareThis

X