How to make users ask for permission to access folders the Windows 8/Server 2012 way

-“I can’t access this folder”
-“What’s the name of the folder you are trying to access”?
-“I don’t know… G something”
-“…Ok… can you tell me the name of  a colleague who’s got access to the folder”?
-“Yes! There’s Peter, but I don’t know his last name”
And thus the interrogation continues…

But wait! With Windows 8 and Server 2012 we configure Access Denied Assistance Message and let the user click a button to provide us with the information we need when managing access to folders.
How neat isn’t this:

The configured message on the Windows 8 Client
What the mail function looks like on the client

 So basically, the user can request permission, you have configured a folder owner e-mail adress, what information the mail will contain (such as folder path etc) for a shared folder, and voila, no communication needed from either side 🙂

Where to configure Request Assistance message for a share

The customized message specified for a share

And of course you can configure this with Group Policy to apply if for all files and folders.
Computer configuration\Policies\Administrative Templates\System\Access-Denied Assistance 

Anyway, there are a LOT of more (and I dare say it) awesome features that makes it easier for both the user and the administrator when it comes to file and resource management, but that’s another day and another blog post. 🙂


Get help with Powershell -examples

Sitting at Mikael Nyströms Windows Server 2012 lab I yet again realize that it’s never too late to get help… when it comes to powershell 🙂
I’m not a Powershell Guru (…yet,but to be Jedi I want) and until that day emerges I need to Get-Help, so Powershell help to the rescue!

Searching for help with Powershell ISE
Powershell ISE is useful for building, debugging, testing scripts and copy-pasting instead of using Powershell and Notepad. Other than that I find it useful when getting help.
Run Powershell ISE and open Commands by either running Show-Command or click Show Command Window.

Show Command Window

Type in New-virtual and select the New-VirtualDisk cmdlet, click the field next to FriendlyName* and click F1 to bring up Help and notice that you can use the Search field to find cmdlets etc.

Getting help and detailed examples
Type Get-Help get- and notice the snippet window with examples that you can run, type get-v and use TAB to complete the command Get-Help Get-VirtualDisk and hit Enter.


If you get promted to update help select Yes and use the Up Arrow key to re-select the latest command Get-Help Get-VirtualDisk.
At the end of the page under Remarks note that you can view examples, detailed, full and -Online.
If you type Get-Help Get-VirtualDisk -Online (Unfortunately some cmdlets are not yet present in the help file)

And there are a lot of other ways to get help, if you haven’t visited The Scripting Guys blog -do, or if you’re Swedish, you can download the free e-book “Kom igång med Powershell” from Niklas Goudes site and my favorite page (one of many) is a list of Powershell cmdlets at Technet