Playing with folders and permissions

This one will be short and sweet. Smiješak

Imagine you have an Active Directory full of users. You also have a file server in your environment. And, as it happens, each of your users needs to have a folder created just for himself, on this file server. Each folder should have inheritance disabled and each user should get full permissions on his folder.

What do you do?

Well, we can manually create the required folders, or we can use a PowerShell script which will do it for us. Obviously, I’ve chosen PowerShell (maybe not the nicest script in the world, but it does the job), or this post would be… lame. Smiješak

So, the interesting part of this script goes like this (I’ve added a few empty lines to make comments more visible):


Microsoft Azure Active Directory Premium trial is now available. What are you waiting for?

Well, for anyone who’s been asking when will it be available, it finally is – as of today, you can activate Microsoft Azure Active Directory Premium trial!

All that you need to do is the following:

  • login to your Microsoft Azure subscription
  • go to the Active Directory section
  • click on the directory on which you want to activate trial (or create a new one)
  • go to licenses section


  • after a few moments, trial with 100 licenses will be activated and it will stay active for 90 days


How cool is that??? Smile

UPDATE (July 1st, 2014): You can read more about it here. There is also a new, long-awaited feature, AAD Tenant Deletion, and you can find more about it here.

Have a great week ahead!

P.S. If you still don’t have Microsoft Azure (trial or the “paid version”), you can acquire it here.