Bhargav's IT Playground

How to find .NET Framework version using PowerShell

Posted by in PowerShell

Often times when I am getting ready to install Exchange 2016 or Exchange 2013, I look at pre-requisites and wonder if correct version of .NET Framework is already installed on the server or not. It certainly saves me time if it is already installed and depending on status of latest OS patch installation, it is highly likely that the required framework is already installed. I think I have written a script in past but never published it. And can’t find anymore. So I just searched and found a script from…read more

0

Replace Command Prompt with PowerShell in Windows 10 Win+X menu

Posted by in Windows

I’m sure this has been written about many times in many places but whenever I install Windows 8.1 or Windows 10 on my machines/VMs, I seem to keep forgetting so this would be a good way to remember. If you are reading this and benefit from it, even better! When you right click the Windows Icon in WIndows 8.1 or Windows 10, you get a centext menu that shows many useful items. One of them (ok, two, technically) is command prompt: Now, I stopped using command prompt ever since I…read more

0

Script to download MEC 2014 Content

Posted by in Exchange Server

If you have remotely anything to do with Microsoft Exchange, you probably know that Microsoft Exchange Conference (MEC) took place in Austin not too long ago. If you were an attendee, you were provided with access to recorded content within 24-48 hours after given session. However, if you were not an attendee, you didn’t have anyway to access recorded content. Until today! Microsoft announced that all recorded MEC 2014 content was available publicly starting today on Channel 9. The content can be accessed on Channel 9 at this URL: http://channel9.msdn.com/Events/MEC/2014….read more

2

Ignoring SSL Trust in PowerShell using System.Net.WebClient

Posted by in PowerShell

This article was originally posted on my PFE blog here: http://blogs.technet.com/b/bshukla/archive/2012/08/22/3324650.aspx. I noticed a few inaccuracies with the article and since I am not a PFE anymore, I can’t edit original article but posting updated article here for everyone to benefit from. The Problem We all at one point or another have come across a coding issue where we are trying to connect to a website using a script and the website is secure with either self-signed or untrusted SSL certificate. This poses a challenge. A challenge to tell code…read more

4

How to assign Static IP to Azure VM

Posted by in Azure

When you start working with Windows Azure IaaS offering, you quickly realize that the age old ways of dealing with infrastructure configuration immediately becomes invalid. Let me give you an example: when you setup a new server in your datacenter, one of the first things you do is acquire an IP address from your network. It doesn’t matter how, maybe just a simple ping test to see which IP is available, maybe from that spreadsheet you have to keep track of used and usable IP addresses, or an IPAM deployed…read more

8

Routing for Hyper-V Lab – Part 2

Posted by in Hyper-V, Windows Server

In Part 1 of this article, we discussed how you can route between VMs on same host using networks connected to “Internal” virtual switch. Now let’s look at how to route between VMs when your lab consists of more than one hosts. Obviously, what I am going to cover isn’t the only way to do this but is one of many. I can certainly go on an on about all other options but I am trying to show the simplest possible one. Lab Setup For this lab, we are going…read more

3

Routing for Hyper-V Lab – Part 1

Posted by in Hyper-V, Windows Server

Most of us IT Pros usually have a lab of some kind. Mostly running some form of virtualization and if you are Microsoft savvy, chances are you are running Hyper-V either on Windows 7/8 pro edition so you can carry your lab around with you or have a Windows Server with Hyper-V. When we try to mimic real world complexities in these labs, routing becomes one essential component of these labs. Most of the times we are squeezed for resources and if you are like me, you would like to…read more

17

Book Review – PowerShell 3.0 Advanced Administration Handbook

Posted by in Book Review, PowerShell, Technology

Automation of mundane daily chores of any IT establishment is essential in today’s world. I would rather spend a day to automate a task that takes only 5 minutes to complete because when automated, it now can be completed in fraction of that time, repeatedly, all while removing possibility of human errors. My first automation attempts can be traced back to DOS 6.22 batch files. Albeit nothing compared to what you can achieve today with PowerShell, it was still achieving basic premise of automation. When I first got my hands…read more

0

Book Review – Microsoft Exchange Server 2013 PowerShell Cookbook (Second Edition)

Posted by in Book Review, Exchange 2013, PowerShell, Technology

Among other books that I have reviewed in past, I had pleasure reviewing Mike’s “Microsoft Exchange 2010 PowerShell Cookbook” when it was release in 2011. So, when PACKT Publishing asked me if I would be interested in reviewing his new book “Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition”, I didn’t have to think much. It is important to mention that I am not paid by PACKT Publishing to review this book. This review and opinions are genuinely my own. Having read Mike’s previous book, I had high expectations, and…read more

0

Exchange Team Blog Mobile and PowerShell Error Handling

Posted by in PowerShell, Scripting-Games

I admit the two topics don’t have anything in common except both has something to do with me. That’s why they are both being talked about in same post! So If you haven’t caught up on this yet, I created a Windows Phone App for the Exchange Team Blog. I am trying to ramp up on little bit of WP7 programming so I can create some apps for my use and possibly to publish it on marketplace for others to benefit from it. What could be better than creating one…read more

0