开发者

Update metadata of MOSS document library item using powershell

Is it possible to update metad开发者_StackOverflowata of an item in SharePoint 2007 document library using powershell?

I'd like to execute a CAML query and then change && update every item in the results list. My goal is to write a single throwaway script instead of writing a console app in VS. Can anyone point me towards a way of doing this?

Thanks, josko


I'm normally able to do anything in sharepoint 2010 just using Powershell and:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint")

But never tried in Sharepoint 2007. However I think you won't have any problem, since it seems Sharepoint Services 3.0 supports the assembly as well, along with SPQuery


Yes you can update document library item using powershell.
please refer site :
http://www.powershell.nu/2009/09/08/moss-2007-script-collection/

Refer these examples given here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜