Powershell script to get site Title, Site Owner, Site user count and usage Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue $wburl = Read-Host "Enter Web application URL " $webApp = Get-SPWebApplication $wburl $outputPa…
In this post I will introduce a way how to run a script for backing up SharePoint data which could be scheduled to run automatically. Step 1:Create a PowerShell Script for Backing up a site collection param([string] $site,[string] $dir,[string] $type…
I have created an alert in Performance Monitor (Windows Server 2008 R2) that should be triggered whenever \Processor(_Total)\% Processor Time is Above 10 (a small value just to guarantee that the condition for sending the alert is always met). You ca…
<Windows Azure Platform 系列文章目录> 许多已经使用Azure Web Site的用户已经发现了,Azure Web Site默认的系统时间是UTC时区. 比如我们在本地使用Visual Studio 2013创建Web Site项目,在Default.aspx.cs输入以下代码: Label1.Text = DateTime.Now.ToString(); 编译通过后,在本地调试显示的是本地系统时间. 而我们部署到Azure Web Site之后,显示的是UTC时区.…
<Windows Azure Platform 系列文章目录> 本文将介绍如何在Azure Web Site里配置连接字符串. 本文分为以下几个步骤: 1.在本地ASP.NET项目使用Web.config配置文件信息 2.将ASP.NET发布到Azure Web Site,并浏览 3.修改Azure Web Site,重新观察Azure Web Site 1.在一般情况下,开发人员会将网站的配置文件写在Web.config里,比如我们用Visual Studio 2013创建一个空的Web…
Since I need to deploy, start, stop and remove many virtual machines created from a common image I created (you know, Tabular is not part of the standard images provided by Microsoft-), I wanted to minimize the time required to execute every operatio…
Emptying the Second Stage Recycle Bin in SharePoint 2007 Look in your second stage recycle bin in SharePoint 2007. If you see lots of items that are older than the configured policy (default is 30 days), then there are one of a few things happenin…
1. Here is the code: Add WebPart in Publish Site Example : AddWebPartPublish http://localhost "/Pages/Publish.aspx" "Shared Documents" "Header" "0" ##################################################################…
通过PowerShell创建SharePoint Site Collection,代码如下: Add-PSSnapin microsoft.sharepoint.powershell function CreateTeamSite() { $webApps = Get-SPWebApplication $webAppsUrl = $webApps.Url ) { Write-Host "You have only one web application:" Write-Host $we…
Problem When I was backing up SharePoint Site Collection Automatically with PowerShell and Windows Task Schedule.Unfortunately,the backup process was abnormally terminated.But What's even worse is I came across an confusing issus When I Browsed to Si…
site " This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter’s -S option. Importing this module will append site-specific paths to the module search path and add a few builtins. &quo…
微软近期Open的职位: Job Title: B&I Site Lead Division: Phones Quality, SWIQ Location: Beijing, China Microsoft (China), Phones unit is seeking an individual to lead our software build and integration operations in Beijing.   Located within the Phones…
When you upgrade to Microsoft SharePoint Server 2010, some of the new SharePoint Enterprise Search Web Parts are missing from the Web Part gallery for upgraded site collections. The following are the missing Web Parts: Refinement Panel Related Querie…