Console tricks using Console class in PowerShell

I was recently writing a script that performs tasks that take time. I wanted a way to show the status to the user on a single line and keep updating the line. There is the Write-Progress cmdlet, but I didn’t want to use that. Playing with the Console is much easier if you use the…

0

Taking a dump of a VM running on Hyper-V

If you have contacted Microsoft support for Virtual Machine hang issues, you would be familiar with the vm2dmp tool. This tool lets you convert a Hyper-V Virtual Machine snapshot to a memory dump, which can then be analyzed to root cause the hang. vm2dmp is a nifty tool, but unfortunately the tool is no longer…

1

Using Event viewer custom views for troubleshooting

Recently a customer came to us with a request. He was managing a print cluster and wanted a way to track information about print jobs, when are they spooled, rendered and completed. I did some testing and found that Windows already logs all that information, all he needed to do was to enable PrintService Admin logging…

0

My First Blog post – (Hurray!)

Hello everyone,   I just got my blog created on MSDN – Welcome to Vimalsdesk !!   Who am I ? My Name is Vimal, I started off as a Support Engineer with the Windows Core team at Microsoft in 2009. After a year and half, I joined the Beta support team for Windows 8…

0