Skip to main content


Showing posts from October, 2014

PowerShell extract shared folder permissions

How to extract list of shared folders permissions?

If the path of shared folder and its sub folders are not too long, it will be smooth and easy to get the security permissions.

If the paths are quite long, then it will be a challenge.

Robocopy.exe a command line tool, that is able to list folder and sub folders even the path are too long.

Used the robocopy script from this link, to list all the files, folder and sub folders and save to a text file.

But the robocopy output, will have a very detailed output that includes complete file names, the number of files on each folder and other details.

To list the shared folder security permissions on PowerShell using the Get-Acl cmdlet; what is needed is just the path to the folder.

So from the text file of robocopy output, need to extract the path directory for all the folders.

Using the PowerShell script from this link  (

#from this link

Word VBA Get Content Control Value

Pick a color in windows paintbrush

Paintbrush is a handy tool to edit or create simple graphics.
How to pick a color using paintbrush?

Paintbrush comes with a "color picker" tool to choose color from an image.
The concept use in paintbrush is the same method use on other graphic software such as awesome freeware software like and GIMP.

So start using simple editing techniques with Windows Paintbrush, and same techniques will be used on other advance graphic tools.
1.To start Paintbrush in Windows 7, type “pbrush” without quotes on the search box and click on “pbrush” from the search result. See image below:

Another way of to open is to click on “All Programs”, click on “Accessories” then select “Paint” and click on it. See image below:

“Color Picker” tool will come handy, if you have an existing picture or image and need to use the same color on other images or text; if color branding is quite important or if you just want to re-use the same color.
To open paintbrush in Windows 8, on the start menu ju…

Open an elevated command prompt

How to open an elevated command prompt in Windows 7?

To open an elevated command prompt in Windows 7; type "cmd" without quotes on the search box.

And from the search result, select "cmd" right click on it.

And on the pop up window select "Run as administrator".

If you are logon without administrative rights, system will prompt for the username and password.

Username and password are the credentials for the administrator account.

If you're on a domain environment, you will have the option to specify the domain administrator account or the local administrator account.

If you are using a home version of Windows 7, then you can only specify the local administrator account.

See image below, on how to open an elevated command prompt.

After clicking on "Run as administrator", it will open a command prompt window. And on the top left corner of the window "Administrator" account is displayed, to indicate that the command prompt is running…

Export Task Scheduler Jobs in Windows