Sharepoint 2010 Powershell 修改网站认证方式
$App = get-spwebapplication “URL”
$app.useclaimsauthentication = “True”
$app.Update()
例子
$App = get-spwebapplication “http://sp1”
$app.useclaimsauthentication = “True”
$app.Update()
$App = get-spwebapplication “URL”
$app.useclaimsauthentication = “True”
$app.Update()
例子
$App = get-spwebapplication “http://sp1”
$app.useclaimsauthentication = “True”
$app.Update()