Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用powershell和webservices删除SharePoint Recyclebin_Sharepoint_Powershell - Fatal编程技术网

使用powershell和webservices删除SharePoint Recyclebin

使用powershell和webservices删除SharePoint Recyclebin,sharepoint,powershell,Sharepoint,Powershell,有人可以帮助我如何使用powershell和web服务删除SharePoint 2007/2010 Recyclebin。我不知道这是否是您想要的,但您可以使用powershell中的以下两行清空web的回收站: $w = get-spweb http://localhost $w.RecycleBin.DeleteAll() 但我从未将powershell和web服务结合在一起,所以这可能不是您想要的

有人可以帮助我如何使用powershell和web服务删除SharePoint 2007/2010 Recyclebin。

我不知道这是否是您想要的,但您可以使用powershell中的以下两行清空web的回收站:

$w = get-spweb http://localhost
$w.RecycleBin.DeleteAll()
但我从未将powershell和web服务结合在一起,所以这可能不是您想要的