Send an e-mail message from PowerShell.

This small PowerShell script will send you an e-mail message to notify you about something. I used it as a monitor for a custom, non-Microsoft service running on Windows Server 2008. Whenever the service will stop for an unexpected reason, the support guys will quickly be notified about the failure. The PowerShell script looks like this: $EmailFrom = “<e-mail address>@<yourdomain.com>” $EmailTo = “<e-mail address>@<otherdomain.com>” $Subject = “<Enter your subject here>” $Body = “<Enter the body […]

unhide recovery partition

List all performance counters on a Windows computer and export it to a file.

Have you ever wondered how to list all performance counters that are present on your computer? Well, I have and after some research I discovered the TypePerf.exe command. Believe it or not, TypePerf.exe is installed by default on all Windows versions after Windows 2000. The syntax looks like this (tested on a Vista machine). C:>TypePerf.exe –q > counters.txt This command will list all performance counters on your computer and save it to a text file […]


Passed the 70-652 exam!

Yes! Today I passed the Microsoft 70-652 TS: Windows Server Virtualization, Configuring exam. I took this exam because my firm is currently participating in the Microsoft Partner Readiness Program for Server Virtualization. I must say, it was quite easy exam! I got 47 questions and 90 minutes to complete the test. I expected more in depth configuration and technical questions about Hyper-V and Virtual Machines but the questions were more like: installing the Hyper-V server […]