jonlawton.co.uk - Jon Lawton - Technical Innovation Blogn

Description: Articles, guides and resources for IT Professionals

it (18350) ict (2175) jon (173) mcse (139) lawton (88) mcsa (72) sccm (50) server 2012 (6) jonlawton (1) mdop (1)

Example domain paragraphs

So, first post on this site and I thought I’d start things off with a little bit of PowerShell. Until recently I’d managed to make use of other means for modifying ACLs however thanks to some recent work with System Centre Orchestrator I thought I’d try to push myself down the Powershell route.

For my particular needs I simply required the ability to provide a new ACL and apply this to the root of a user’s home folder. Many guides on working with ACLs and PowerShell suggest starting with the Get-ACL command, however in my case I wasn’t interested in finding the existing information but starting from scratch.

Let’s create a new ACL and give it the variable name of $HomeACL: