摘要: 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 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: 当我打开SP web application时,页面显示如下: 查看event log,发现有一些8315-8317之类的error,发现把request management service停掉后,一切正常。 阅读全文
posted @ 2014-04-09 17:29 疯吻IT 阅读(294) 评论(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 阅读(311) 评论(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) 编辑
摘要: 当我运行下面的 powershell 脚本时: $FarmAcct = 'domain\user' $secPassword = ConvertTo-SecureString 'aaa' -AsPlaintext -Force $global:farmCredential_ = New-Object System.Management.Automation.PsCredential $Fa... 阅读全文
posted @ 2014-03-18 09:19 疯吻IT 阅读(2390) 评论(0) 推荐(1) 编辑
摘要: 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) 编辑