Thursday, December 18, 2014

Export property bag to a cvs file

Just a simple script, that read the property bag from a web, converts the key/value to a PowerShell object and pipe it to the Export-csv cmdlet.

$path = "c:\temp\propertybag.cvs"
$url = "http://win-l2sfc3oetnn"
$web = get-spweb $url
$web.AllProperties.getenumerator() | % {new-object psobject -Property @{Key = $_.name;Value=$_.value} } | export-csv $path -notype -Delimiter ";"

45 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. something that is owned by a person, business, etc. : a piece of land often with buildings on it that is owned by a person, business, etc. : a special quality or .Lets Buy In Spain

    ReplyDelete

  3. Excellent and useful script! thank you for sharing)
    Richard Brown data room due diligence

    ReplyDelete
  4. This may include changing your billing address, transferring funds to a new trust account, making copies of keys, obtaining a rent stabilization certificate, and taking care of existing leases and rent rolls. KatyPropertyManagement

    ReplyDelete
  5. Insurance companies use loopholes to avoid paying claims. This article discusses how public adjusters prevent insurance companies from misusing these loop holes and possibly get your claim covered. Key west fire damage

    ReplyDelete
  6. In commercial real estate, you will undertake a variety of presentations, in a variety of circumstances. Most of them are business-like in nature, focusing on the needs of the tenant, the property buyer, or the property seller. Milton Real Estate

    ReplyDelete
  7. I think this is an enlightening post and it is exceptionally valuable and proficient. along these lines, I might want to thank you for the endeavors you have made in composing this article. Ludowici GA houses for sale

    ReplyDelete
  8. As a self-contained eco-urban development, Vinhomes Riverside offers its residents a wide range of services and premium facilities such as 600,000 m2 of greeneries and lakes, shopping center, a food and entertainment complex, health club, banking services and quality schools.  Vinhomes Riverside villa

    ReplyDelete
  9. Having a keen eye for property detail and a diligent record keeping process as you walk around is the only way to inspect investment property. It is remarkable how these records have to be revisited at a later time for reassessment.read here

    ReplyDelete
  10. Can I simply say what a relief to search out someone who actually knows what theyre talking about on the internet. You positively know tips on how to deliver an issue to gentle and make it important. More people must read this and understand this aspect of the story. I cant believe youre no more widespread because you positively have the gift. The Tre Ver Condo Singapore

    ReplyDelete
  11. SpainForSale.Properties is an Exclusive Real Estate Agency offering Luxurious Properties For Sale and Rent on the Costa del Sol, such as: Luxury VILLAS FOR SALE SIERRA BLANCA SpainForSale.Properties is considered one of the most trusted Exclusive Real

    ReplyDelete
  12. What would many of us do devoid of the brilliant suggestions you share on this web site? Who else has got the perseverance to cope with important topics in the interest of ordinary subscribers like me? My spouse and i and my guys are really lucky to have your website among the ones we typically visit. We hope you know how a great deal we take pleasure in your efforts! Much luck coming from us all. real estate agent

    ReplyDelete
  13. Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. Sloane Residences Freehold Condo

    ReplyDelete
  14. Perhaps this is a bit off topic but in any case, I have been surfing about your blog and it looks really neat. impassioned about your writing. I am creating a new site and hard-pressed to make it appear great, and supply excellent articles. I have discovered a lot on your site and I watch forward to additional updates and will be back. tulum mexico real estate

    ReplyDelete
  15. I'm constantly searching on the internet for posts that will help me. Too much is clearly to learn about this. I believe you created good quality items in Functions also. Keep working, congrats! https://www.valsqld.com.au/

    ReplyDelete
  16. What are you waiting for? Your apartment's not going to sell itself--and you're certainly not helping much either! Point your web browser to a nationwide property buying company now! houses513

    ReplyDelete
  17. Good composed article. It will be steady to any individual who uses it, including me. Continue doing what you are doing – can'r hold up to peruse more posts. Surrey Real estate

    ReplyDelete
  18. I just want to let you know that I just check out your site and I find it very interesting and informative.. Properties Core City Rental

    ReplyDelete
  19. The only way to fully appreciate and analyse the complete rental situation is to read all leases in detail.real estate practice test

    ReplyDelete
  20. Amaze! I have been searching yahoo for hours for this and i also ultimately found it in this article! Boulevard 88 Condo

    ReplyDelete
  21. Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. houses for Sale

    ReplyDelete
  22. Mmm.. good to be here in your article or post, whatever, I think I should also work hard for my own website like I see some good and updated working in your site. When to clean your gutters

    ReplyDelete
  23. This book gives you step wise extensive guide along with three golden lessons that helps your kids learn all the right things about survival Visit website

    ReplyDelete
  24. A majuscule website with engrossing and incomparable physical what else would you condition. Piermont Grand City Developments Limited

    ReplyDelete
  25. I appreciate several from the Information which has been composed, and especially the remarks posted I will visit once more.  Choose the right Handyman

    ReplyDelete
  26. one thing that i like about the blog could be that the information is very helpful and keeps one informed on issues related to politics.  Gutters Raleigh NC

    ReplyDelete
  27. There are a lot of blogs and articles out there on this topic, but you have acquired another side of the subject. This is reliable content thank you for sharing it. Residential Gutter systems

    ReplyDelete
  28. My friend mentioned to me your blog, so I thought I’d read it for myself. Very interesting insights, will be back for more! Raleigh Contractor

    ReplyDelete
  29. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. Piermont Grand District 19

    ReplyDelete
  30. Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. 999 Years Condo Project

    ReplyDelete
  31. As of late August 2007, there are 93 restaurants on Commercial Drive between Venables and Broadway, of which 19 are coffee bars. commercial property gas safety certificates

    ReplyDelete
  32. In a single property with multiple tenants it is common for a variety of rentals to be charged across the different leases. zillow ocala fl 34476

    ReplyDelete
  33. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. Commercial Contractor Maryland

    ReplyDelete
  34. Marvelous and fascinating article. Incredible things you've generally imparted to us. Much obliged. Simply keep making this kind out of post. pure CBD oil for sale

    ReplyDelete
  35. You ought to basically fantastic not to mention solid advice, which means notice: custom patches

    ReplyDelete
  36. Property advisors are specialists in the field in overseeing and creating various properties. They are the ones who offer master guidance on the best way to design, create, build rent and find different properties you need to buy. property investment consultations

    ReplyDelete
  37. I’ve been surfing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the web will be a lot more useful than ever before. https://propertyinvestnment43.tumblr.com/post/664183338397024256/property-investment

    ReplyDelete
  38. An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers. invest in cambodia

    ReplyDelete
  39. Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. prince holding group

    ReplyDelete
  40. Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. http://marciabackstromdolls.com

    ReplyDelete
  41. I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts. https://journal-liverinvesting-in-cambodia-property.jimdosite.com/

    ReplyDelete
  42. I found your this post while searching for some related information on blog search...Its a good post..keep posting and update the information. palos park IL realtors

    ReplyDelete
  43. Thank you for your submit and also fantastic suggestions.. also My partner and i furthermore believe work will be the main part of acquiring accomplishment. Rejuvenation

    ReplyDelete