随笔分类 -  Sharepoint

摘要:cls $PSSnapin = Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue | Out-Null $webAppUrl = Read-Host $WebApp = Get-SPWebApplication $webAppUrl Foreach ($SiteColl in ... 阅读全文
posted @ 2014-04-22 14:19 疯吻IT 阅读(545) 评论(0) 推荐(0) 编辑
摘要:cls$featureID = (Get-SPFeature | ?{ ($_.DisplayName -eq "SiteNotebook") -and ( $_.Scope -eq "Web")}).id$sites = Get-SPSite foreach($Site in $sites){ $webs = $Site.AllWebs foreach($Web in $web... 阅读全文
posted @ 2014-04-17 11:36 疯吻IT 阅读(221) 评论(0) 推荐(0) 编辑
摘要:clear $PSSnapin = Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue | Out-Null$webAppUrl = Read-Host$WebApp = Get-SPWebApplication $webAppUrlForeach ($SiteColl in $WebApp.S... 阅读全文
posted @ 2014-04-17 11:11 疯吻IT 阅读(325) 评论(0) 推荐(0) 编辑
摘要:SharePoint 2013里会报8321的错误: A certificate validation operation took 15011.1412 milliseconds and has exceeded the execution time threshold. If this continues to occur, it may represent a configuration... 阅读全文
posted @ 2014-04-09 18:01 疯吻IT 阅读(1184) 评论(0) 推荐(0) 编辑
摘要:当我打开SP web application时,页面显示如下: 查看event log,发现有一些8315-8317之类的error,发现把request management service停掉后,一切正常。 阅读全文
posted @ 2014-04-09 17:29 疯吻IT 阅读(291) 评论(0) 推荐(0) 编辑
摘要:删除一个group里所有的帐号: cls########################### # "Enter the site URL here" $SITEURL = "http://xxx/IT"# "Name of Site group from which users have to be removed" $SITEGROUP = "Portal Information Te... 阅读全文
posted @ 2014-03-31 16:43 疯吻IT 阅读(342) 评论(0) 推荐(0) 编辑
摘要:In this article, let’s understand the Minimum and Maximum server memory settings of SQL Server. The min server memory and max server memory configuration options establish upper and lower limits to th... 阅读全文
posted @ 2014-03-26 10:11 疯吻IT 阅读(371) 评论(0) 推荐(0) 编辑
摘要:cls$featureid = 'a7a2793e-67cd-4dc1-9fd0-43f61581207a'$webapps = Get-spWebApplicationforeach($webapp in $webapps) { foreach($site in $webapp.Sites) { foreach($webapp in $site.AllWebs) { Disable-SPFeature –identity $featureid -Confirm:$false -U... 阅读全文
posted @ 2014-03-21 15:39 疯吻IT 阅读(310) 评论(0) 推荐(0) 编辑
摘要:当导入Spreadsheet到sharepoint2013会报下面的错: an unexpected error has occurred -2147467259 The specified file is not a valid spreadsheet or contains no data to import 解决方法: 首先enable ActiveX controls: Step... 阅读全文
posted @ 2014-03-19 17:23 疯吻IT 阅读(472) 评论(0) 推荐(0) 编辑
摘要:1· 下载安装 Web Platform Installer v4 Command Line (WebPICMD.exe) Tool.(http://download.microsoft.com/download/7/0/4/704CEB4C-9F42-4962-A2B0-5C84B0682C7A/WebPlatformInstaller_amd64_en-US.msi) 2· 用管理员身份... 阅读全文
posted @ 2014-03-17 14:16 疯吻IT 阅读(632) 评论(0) 推荐(0) 编辑
摘要:#region 1. add winrm, application server and web server roleAdd-WindowsFeature winrm-iis-ext, Application-Server,Web-Server -IncludeAllSubFeature#endregion#region 2. disable UACFunction Test-Regist... 阅读全文
posted @ 2014-03-12 16:50 疯吻IT 阅读(324) 评论(0) 推荐(0) 编辑
摘要:1. workflow 流程走不下去,报 workflow fails to run 的错误请确保下面二个service要么都start,要么都stop:Microsoft SharePoint Foundation Web ApplicationMicrosoft SharePoint Foundation Workflow Timer Service2. 安装sharepoint prerequisit总是在web server (iis)这步不断地重启检查web server (iis)前面是不是有个红叉,如果有,先fix,有时是相关的service没有启动起来。3. SharePoin 阅读全文
posted @ 2014-03-11 10:33 疯吻IT 阅读(455) 评论(0) 推荐(0) 编辑
摘要:安装 1. 配置文件: 2. powershell 脚本: $0 = $myInvocation.MyCommand.Definition$curDir = [System.IO.Path]::GetDirectoryName($0)$parDir... 阅读全文
posted @ 2014-03-07 14:03 疯吻IT 阅读(2474) 评论(0) 推荐(0) 编辑
摘要:1 Run command “New-SPConfigurationDatabase"Feature Description: error message popup after run function “New-SPConfigurationDatabase".1.1 CategoryCode ... 阅读全文
posted @ 2014-03-04 11:44 疯吻IT 阅读(6239) 评论(0) 推荐(0) 编辑
摘要:最近我们在做Farm Building时,经常要清理Sharepoint的环境,简单整理了下清理步骤: 1. Delete web app 2. Delete service application 3. Run command “Remove-SPConfigurationDatabase” in sharepoint mana... 阅读全文
posted @ 2014-03-04 10:25 疯吻IT 阅读(377) 评论(0) 推荐(0) 编辑
摘要:1. Delete a site collection· Run command : Remove-SPSite –Identity http://ent132.sharepoint.hp.com/teams/monitor/ –GradualDelete –Confirm:$False· In CACentral Administration->Application Management ->Delete a Site collectionChange the site collectionClick ok ,then delete.· In SQ 阅读全文
posted @ 2014-02-28 09:20 疯吻IT 阅读(4574) 评论(0) 推荐(0) 编辑
摘要:上个示例(SharePoint 2013 APP 开发示例 (五)跨域访问 Web Service (REST API))是基于JavaScript,运行在web browser内去访问REST API;在这个示例里,我们将用服务端代码创建同样的功能,我们将用到TokenHelper和HTTPWebRequest 对象。 • 项目模板里的TokenHelper.cs 文件被用作管理Token ... 阅读全文
posted @ 2014-02-20 20:45 疯吻IT 阅读(2288) 评论(0) 推荐(0) 编辑
摘要:当我准备打开CA时发现下面的错误:This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration Wizard, located on the Start m 阅读全文
posted @ 2014-02-19 18:34 疯吻IT 阅读(1297) 评论(0) 推荐(0) 编辑
摘要:虽然 JQuery 也能通过授权header实现跨域, 但SharePoint 提供了更简单的方法,它被实现在SP.RequestExecutor里 。它能访问跨域的服务包括REST API, 本示例将使用它在auto-hosted的app里从远程web site去访问SharePoint。 SP.RequestExecutor 对象包含了一个独立的客户端对象的 JavaScript ... 阅读全文
posted @ 2014-02-18 20:05 疯吻IT 阅读(3473) 评论(0) 推荐(0) 编辑
摘要:SharePoint 2013 APP 安全:SharePoint 2013 APP 开发示例 (一)List 读写SharePoint 2013 APP 开发示例 (二)获取用户信息SharePoint 2013 APP 开发示例 (三)使用远程的web资源SharePoint 2013 APP ... 阅读全文
posted @ 2014-02-18 12:51 疯吻IT 阅读(1393) 评论(0) 推荐(0) 编辑