Windows 2008 Server

7 articles in category Windows 2008 Server / Subscribe

I don’t know about the RAM capacity in your head, but mine is kinda limited. Often time when I code in PowerShell, I don’t remember the exact name of a property/method. With the date and time object particularly. It’s different, yet very similar among the many programming languages I use daily.

so after I issue

I usually fire up browser and go to Microsoft Technet PowerShell reference site to find the right command. I remember what it sounded like, but can’t remember exactly how to type it out. Yes you can type help get-date. But it doesn’t tell you all the properties and method you need.

if you want to know the list of all properties and method of an object/variable, set a value to a variable, and pass that variable to get-member cmdlet

$time | get-member

You’ll get all the properties and method that belong to $time variable. A real time saver.

If you ever find a need to delete a replica from your Data Protection manager 2007 or DPM2010, you will find that this is not as simple as clicking through several task buttons. This is quite cumbersome if you don’t have any programming knowledge. Surprisingly, this process was A LOT easier in DPM 2006. I don’t know why Microsoft decided to take this feature out.

The short answer to this question is: POWERSHELL. You need to use DPM management shell, which is a powershell command prompt.

The long answer is as follow: Continue Reading →

Windows 2008 and 2008R2 are awesome. One feature I missed the most from my Windows 2003 is the ability to assign/remove permission to/from MULTIPLE folder. For some reason Microsoft decided to take this functionality away from their GUI. I had to add/remove users from 20+ folders recently, and it’s not pleasant to do it manually on each folder. I can write the command line to do this using cacls or icacls, but i don’t always remember the slashes I need. So, I spent about half hour to create a simple windows application to accomplish this. Keep in mind that I only spent 30 minutes writing this app. So there is minimal error checking. One thing to keep in mind is that if you are granting or removing local groups, you should use builtin\group_name instead of server_name\Group_name. In the future, I will probably extend the functionality so I can select multiple folders using GUI.

To get started, just download the executable and run it.

Screen shot:

NTFSSetter - Assign/delete permission to/from multiple=