Sunday, November 15, 2015

PowerShell script to make a list hidden in SharePoint

Good Evening Friends !!

I just want to share a small script which makes your list hidden from any user. After run this script you can not see the list in All Site Content page.


 $web = Get-SpWeb "http://itmohit"

 $list = $web.Lists["Tasks"]

 $list.Hidden = $true

 $list.update()

 $web.dispose()



---
Mohit

3 comments:

  1. Great. This is what I was looking for. You helped me a lot!
    ideals virtual data room

    ReplyDelete
  2. Thanks for sharing, I just like the valuable info you provide for your articles. I’ll bookmark your weblog and take a look at once more right here regularly. Custom essay writing service will give you opportunity to spend more free time with friends. Thanks for sharing the nice information.I appreciated over read your blog entry. It is very useful for all peoples there are all possibilities to provide for this blog.And please provide some more information please visit our website you get more information regarding writing works.Refer best essay writing service

    ReplyDelete

SharePoint Deployment Error : The specified path, file name, or both are too long.

Hi, Sometimes we get surprised with below error while deploying wsp file... Solution : To overcome with this issue, we just ne...