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

SharePoint.

重新引导SharePoint Farm.

快速代码段与您分享,用于重新启动完整的SharePoint Farm。  调用远程重新启动命令与任何有效的SharePoint角色的所有对等机器,然后重新启动本地计算机。  注 - 不包括SQL,但可以调整过滤器。  Cheers. 

shades_smile.

代码

Add-PSSnapIn "Microsoft.SharePoint.PowerShell"
$local = $env:COMPUTERNAME
$localFQDN = $env:COMPUTERNAME + "." + $env:USERDNSDOMAIN
$targets = Get-SPServer |? {$_.Role -ne "Invalid"} |? {$_.Address -ne $local -and $_.Address -ne $localFQDN} | Select Address
$targets |% {Write-Host "Rebooting $($_)"; Restart-Computer $_ -Force}
Restart-Computer -Force

下载

sprebootfarm.ps1.

SharePoint.日历颜色覆盖(十六进制显示)

截至1/19/1920的SharePoint Online提供的7 Microsoft日历覆盖颜色可快速参考。  用户语音社区已要求添加自定义颜色但尚未实施的能力。 如果你喜欢的话,请俯卧//sharepoint.uservoice.com/forums/601165-suggestion-archive/suggestions/11317953-select-own-hex-colors-for-calendar-overlay.  关于如何创建日历叠加的注意事项//blog.virtosoftware.com/how-to-color-code-sharepoint-calendars/.

微软颜色
深色的颗粒,#00485b
蓝色,#0078d4
深绿色,#288054
橄榄绿,#767956
红色,#ed0033
深紫色,#682a7a
深色的小野鸭,#006984
深绿色,#134029
棕色,#3b3c2a

图像

干杯

shades_smile.

如何脚本SharePoint先决条件IIS角色

创建新SharePoint 2013/2016/2019服务器时,需要安装IIS Web角色,并启用某些功能。  下面是一个衬里的powershell完成这一点。  Cheers. 

shades_smile.

代码

Add-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Xps-Viewer -verbose

截图

图像
返回顶部▲返回顶部▲