Powershell记录2

Powershell:

取得Sharepoint Site:

$spsite = set-spsite -identity $url -sitesubscription $sub -confirm:$falidenticalse -force:$ture

取得Url site:

$urlsite = get-spsite|w环境变量pathhere{$_.url -eq $url}

if($urlsite.siteSubscription -ne $null)

{

$subscription = get-spsitesubscription -identity $url

}

设置TestRunConfig.testrunconfig,把powershell放到环境变系统运维工程师面试问题及答案

# change the system powershell to the sharepoint management shell

$enidealv:path=$env:path+";C:\其他和其它的区别program files\common files\microsoft shared\web server extensions\14\co系统运维面试题及答案nfig\powershell\registration\"

# start the sharepoint 2010 man环境变量的作用agment shell

SharePoint.ps1

IIS7 显示:

HideologicalTTP Error 403.14 – Forbidden

需要有个配置功能

增加web.config

<?xml version="1.0" en环境变量path怎么设置coding="utf-8" ?>

<configuration>

<环境变量是什么意思;system.webServer&环境变量path被修改了怎么恢复gt;

<directoryBrowse enab环境变量在哪里设置win7led="true"/>

</system.webServer>

</configuration>

XmlTextReaderideas.EOF 属性获取一其他业务收入个值,该环境变量值指示读取器是否定位在流的结尾。