Project Work Hours

Sat & Sun 6am - 9am

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Monthly Archives: November 2014

This post covers automating the Netbook ‘Screen Hack’ using PowerShell. The screen hack enables Modern App (Metro App) to work on Netbooks with lower screen resolution by manipulating the registry key that handles screen resolution of the operating system.

This PowerShell script will actually work on any operating system with Metro, i.e. Windows 8, Windows 8.1 and Windows 10.

20141109 - ScreenHack

Below is the Script and a video of the process for visual learners.

Continue reading

This post covers Re-balancing (Redistributing) Microsoft Exchange databases in a Database Availability Group (DAG) by Activation Preference using Microsoft Exchange PowerShell.

I have just recently patched my Server and also updated Servers in my Microsoft Exchange 2010 environment to SP3 RU6. To avoid any mail interruptions i had moved databases around and now that i am done i need to re-balance (redistribute) database by database activation preference.

Enjoy

Syntax for running the script:

.\RedistributeActiveDatabases.ps1 -DagName <DAGName> -<How to redistribute>

Example:

.\RedistributeActiveDatabases.ps1 -DagName 001-NAEX14-00 -BalanceDbsByActivationPreference
20141102 - Reblance DBs

20141102 – Reblance DBs

Below is a video of the process for visual learners.

Continue reading