Tuesday, December 13, 2016

Setting ACLs on Website directories using PowerShell

One of the extremely common tasks I have to perform whenever I set up a website or virtual directory/application in IIS is that I have to also set up folder/directory permissions on the newly created directory as well.

This can be time consuming and error prone, especially if you have to set up numerous directories either on a single web server or multiple web servers.

That is why I heavily rely on PowerShell to help me accomplish this task!

For a primer on just how to accomplish this using PowerShell, you can check out this article: http://www.tomsitpro.com/articles/powershell-manage-file-system-acl,2-837.html

Of course, my needs are targeted towards IIS website directories in particular, so I have modified the original script to suit my needs.

You can check out my version of the PowerShell script:


3 comments:

  1. Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks

    Woocommerce Development services

    ReplyDelete
  2. Pg Slot 99 ตัวแทนเว็ปยักษ์ใหญ่ ปลอดภัย อันดับ 1 ของไทย รวดเร็ว และเป็นที่นิยมมากมาย มีพนักงานพ้อมบริการ ตลอด 24 ชั่วโมง pgslot

    ReplyDelete
  3. ทดลอง เล่น สล็อต เกมที่ ถูกออกมาอย่าง มีมาตรฐาน และก็ล้ำสมัย มีคุณภาพ ภาพอธิบายที่ถูกดีไซน์มาอย่างงาม ความละเอียดสูง ภาพ3D สามารถเล่นได้ทุกๆที่ เกมสนุก ได้เงินไวต้อง pgslot-th.com

    ReplyDelete