Microsoft云工程师 - SharePoint,Office 365,Azure,Dotnet,Agenular,JavaScript。
Microsoft云工程师 - SharePoint,Office 365,Azure,Dotnet,Agenular,JavaScript。

SharePoint.管理

删除所有One-Time SptimerJobs

一个时间SharePoint定时器作业通常可以获得“卡住”并无法执行。  在Central Admin中手动清除它们是乏味的。 下面的PowerShell将删除所有的“单时间”作业与一个衬里。干杯。  

shades_smile.

电源外壳 Code.

Get-SPTimerJob |? {$_.Schedule.GetType().ToString() -eq "Microsoft.SharePoint.SPOneTimeSchedule"} | % {$_.Delete()}

截屏

图像

参考

每日前端备份

下面的PowerShell可以通过SharePoint农场中只需一台计算机运行一次每天一次运行一次,以备份前端配置。  是的,SQL备份很精彩,必须具有用户数据保护。  但是,前端备份是辅助恢复方案的辅助,如:

 

  • IIS配置
  • IIS主页文件夹
  • WPS农场解决方案
  • 14/15蜂巢手动变化  (是的,是的......不是最好的练习,但你也有它们)

 

这些前端伪像可能不是SQL Full Bak。  此外,在前端上的故障排除有助于SharePoint Admins快速响应恢复,而无需等待DBA首先恢复数据库。    Hope that helps.  

微笑

 

Start-Transcript

Write-Host "Starting..."
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$dest = "d:\backuptest"
$day = Get-Date -Format "yyyy-MM-dd"
("iisconfig","inetpub","farmsol","hive","ipfs") |% {New-Item "$dest\$_-$day" -ItemType Directory -ErrorAction SilentlyContinue} | Out-Null

Write-Host " - IIS config"
Copy-Item "C:\windows\system32\inetsrv\config" "$dest\iisconfig-$day" -Recurse

Write-Host " - IIS home folder"
Copy-Item "C:\inetpub" "$dest\inetpub-$day" -Recurse

Write-Host " - SharePoint farm solutions"
Get-SPSolution |% {$s=$_.SolutionFile;$n=$s.Name;$s.SaveAs("$dest\farmsol-$day\$n")}

Write-Host " - SharePoint hive folder"
$major = (Get-SPFarm).BuildVersion.Major
Copy-Item "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\$major" "$dest\hive-$day"  -Recurse

Write-Host " - InfoPath Forms Services"
Backup-SPFarm -Directory "$dest\ipfs-$day" -BackupMethod Full -Item "InfoPath. Forms Services"

Write-Host " - Remove old folders"
$threshold = (Get-Date).AddDays(-2)
$files = Get-ChildItem $dest | Sort-Object LastWriteTime -Descending
$files | ?{ $_.LastWriteTime -lt $threshold } | Remove-Item -Force -Recurse

Write-Host "Operation completed successfully"

Stop-Transcript

Msodal.–Microsoft Online Services诊断和记录

随着更多人每天使用Office365,附近有一些故障排除工具可能会有所帮助。  我有问题通过Lync IM发送文件,并在我的研究中发现了这款有用的下载。  它验证了本地PC客户端配置,并能够进行常见配置问题应用次要修复。  随着我们所有人支持更多Office365用户,可以保留附近。

 

http://support.microsoft.com/kb/2386684

  • 桌面或应用程序共享无法连接在Lync在线会议中

//technet.microsoft.com/en-us/library/hh852475.aspx

  • 下载MOSDAL(Microsoft Online Services诊断和记录)支持工具包

 

4
5
11-11-2013 4-48-16 PM
2
3
返回顶部▲返回顶部▲