Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • This is great. It worked on my SPS2010. I require some more inputs further: 1) Can you clarify if this is the old method which can be applied on MOSS 2007 list too? 2) Will the above script run from a Client workstation 3) Are there any better ways to achieve this using SharePoint 2010 PowerShell CommandLets? Commented Jun 10, 2010 at 4:42
  • 1) yes the method above should work on both SharePoint 2007 and 2010 as this part of the server object model (OM) hasn't changed. 2) To run scripts remotely you will need to use PowerShell remoting. 3) yep there are other neater ways to do this using the SharePoint 2010 Powershell Snapin - check out dmitrysotnikov.wordpress.com/2010/04/14/… for some tips Commented Jun 10, 2010 at 9:30
  • Can you please send the complete URL of dmirtysotnikov Commented Jun 10, 2010 at 11:25
  • dmitrysotnikov.wordpress.com/2010/04/14/… Commented Jun 10, 2010 at 12:28