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…
微软 PowerShell Script Explorer 满血复活,正式发布 一年前的今天,微软在其Windows PowerShell官方博客声明中止 ‘Script Explorer’ 应用程序的开发. 一年后的今天,微软为其Script Explorer注入了新的生命.一款叫Script Browser for Windows PowerShell ISE的应用正式在Windows PowerShell官方博客上正式发布. 通过Script Browser, IT 人员可以尝试学习Win…
######################################################### # # Name: InstallWindowsUpdates.ps1 # Author: Tony Murray # Version: 1.0 # Date: 16/11/2010 # Comment: PowerShell script to install # Windows Update files # ###################################…
Join to domain powershell script $username = "domain\admin" $Password = "xxxxxxxx" $pwd = $Password | ConvertTo-SecureString -asPlainText -Force $credential = New-Object System.Management.Automation.PSCredential($UserName,$pwd) $Domain…
一篇非常好的博客,收藏一下 https://sharepoint.stackexchange.com/questions/109409/how-can-i-add-a-site-title-refiner…
Healwire Online Pharmacy version 3.0 suffers from cross site request forgery and cross site scripting vulnerabilities. tags | exploit, vulnerability, xss, csrf MD5 | 9196695291014c0d67db9bdd80d678ff # Exploit Title: Healwire Online Pharmacy 3.0 - Per…
<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…
<Windows Azure Platform 系列文章目录> 我们在使用Windows Azure Web Site的时候,经常会遇到需要对Web Site进行备份的情况.在这里笔者简单介绍一下相关的内容. 在开始本章之前,请读者熟悉Azure Web Site和PaaS SQL Azure bacpac的相关知识. SQL Azure (14) 将云端SQL Azure中的数据库备份到本地SQL Server 在本章中,我们准备的环境相对复杂一点,我们需要准备以下内容: (1)部署一个新的…
<Windows Azure Platform 系列文章目录> 我们知道,在Azure Cloud Service和Virtual Machine,可以通过Endpoint ACL (Access Control List)访问控制列表.来设置IP白名单规则. 具体请参考:Windows Azure Virtual Network (10) 使用Azure Access Control List(ACL)设置客户端访问权限 在默认情况下,Azure Web Site是没有IP白名单的.也就是说…
<Windows Azure Platform 系列文章目录> 我们在使用微软云Azure Web App的时候,会使用微软的二级域名:http://xxx.chinacloudsites.cn/.如下图: 上图中:chinacloudsites.cn这个根域名,是微软Azure的,这个域名,默认支持HTTP和HTTPS.我们可以通过https://来访问这个这个域名,如下图: 注意:今天是2016年3月28日,微软Azure之前的HTTPS的CA (Certificate Authority…
<Windows Azure Platform 系列文章目录> 在之前的文档中,笔者介绍了Azure Web Site是一个多租户的环境,每个部署单元有一个可以通过Internet访问的入口IP(我们称之为VIP). 在不使用IP SSL的情况下,所有Azure用户的Azure Web Site Application的入口公网IP地址(Inbound VIP)是共享的. 具体信息如下. 部署单元:BJB-001 (Azure北京数据中心) Inbound VIP :42.159.5.43 O…
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…
一年前的今天,微软在其Windows PowerShell官方博客声明中止 ‘Script Explorer’ 应用程序的开发. 一年后的今天,微软为其Script Explorer注入了新的生命.一款叫Script Browser for Windows PowerShell ISE的应用正式在Windows PowerShell官方博客上正式发布. 通过Script Browser, IT 人员可以尝试学习Windows PowerShell技术去自动化控制IT 产品如Windows Ser…
<Windows Azure Platform 系列文章目录> 在前一章的内容里,我介绍了使用Windows Azure Management Portal创建Web Site.本章,我将给大家介绍如何同时创建Web Site和云端数据库. 同时创建,其实就是把创建Web Site和创建云端数据库,这2个步骤合并起来.创建Web Site的过程和之前的内容类似. 这里的云端数据库其实就是SQL Azure. 关于SQL Azure的概念,可以参考SQL Azure(一) 入门 关于SQL Az…
本文简单提供了一个Azure powershell脚本,能实现如下功能 Azure (China)账户是否已经登陆了,如果没登陆,会提示你登陆. 要创建的资源组是否存在,存在的话不再创建,直接部署template,不存在就先创建资源组,再部署template. ## 简单定义变量 $ResourceGroupName='myrsg' $Location='china east' ## 检测是否已经登陆azure,如果没登陆,会跳转提示登陆. Try { Get-AzureRmContext -E…
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…
一.使用jekyll和Github三步搭建个人博客 在 Github 上建一个库,库的名字是xxx.github.com,其中的xxx是你的github的账号名(图中标注的不要勾选) 注:如果没有Github账号,需要注册一个,进入Github官网, 在Jekyll模板中选择自己喜欢的模板clone到本地(这里选Bef做实例) 对模板中的信息进行修改(注释掉_config.yml文件里:baseurl:"/bef"),将模板push到自己的库中,然后访问xxx.github.io,可访…
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…
转载请注明出自天外归云的博客园:http://www.cnblogs.com/LanTianYou/ 你可以将普通的sites加入到你的site subscriptions中,前提是你需要有一个 Tenant Administration site,如果没有这个site,一切都别谈了. 那么首先,创建一个 Tenant Administration site: Add-PSSnapin microsoft.sharepoint.powershell function CreateATenantA…
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…
在某些情况下,我们需要去引用其他List中的数据,比如在网站集(Site Collection)上有个List叫Country,在其子网站(WebSite)有个List叫Employee,如果要在子Site上的Employee去引用Country中的数据,一般我们会在Site Collection上创建一个网站栏(Site Column).这是一种解决方案.还有一种解决方案,我们也可以在项目中创建一个Lookup 类型的 Site Column,其Scope为Site,顺着思路,我理所应当的创建…
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. &nbsp 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…
Admin管理界面是django的杀手级应用.它读取你模式中的元数据,然后提供给你一个强大而且可以使用的界面,网站管理者可以用它立即向网站中添加内容. 要使用admin,可以按照下面的步骤: 将'django.contrib.admin'加入setting的INSTALLED_APPS配置中. 保证INSTALLED_APPS中包含'django.contrib.auth','django.contrib.contenttypes','django.contrib.messages'和'djan…