Year: 2013

Speaking at DevOps Days 2013 India

Sometime ago, I stumbled upon DevOps Days website and their call for papers. If you have been following my tweets and posts on PowerShell Magazine, my new found love in Windows Server 2012 R2 OS is the Desired State Configuration feature. This is a feature that enables a million opportunities for people in DevOps and system administration space. This event is happening on November 16th and 17th in Bangalore. So, when I saw the call for papers, I submitted my proposal about Desired State Configuration and this got accepted as a conference talk. I will be there on day 1. The registrations for this event are open. This is a paid registration. You can check for availability here. If you are attending this event, please drop by and say hello. I will be more than happy to talk to you on this subject.

Slides and demo scripts from my Desired State Configuration session at VTC Online, India

The Microsoft MVP community in India delivered a Virtual Tech Conference (VTC) online yesterday and I had the opportunity to talk about one my favorite topics in PowerShell 4.0 – Desired State Configuration. I used this opportunity to build a custom DSC resource for managing hosts file using DSC. It was a good learning experience for me. And, I see a lot more possibilities with this.

Bangalore ITPro and PowerShell Bangalore User Group meeting, July 2013

PowerShell Bangalore User Group (@PSBUG) and Bangalore IT Pro (@BangaloreITPro) are meeting on July 27th, 2013. Agenda: 10.00AM – 10.15AM – Registrations and Welcome note 10.15AM – 10.45AM – PowerShell for Beginners – Deepak Dhami 10.45AM – 11.15AM – Introduction to Excange Calculator – Krishna Kumar B 11.15AM – 11.30AM – Break 11.30AM – 12.00Noon – PowerShell 4.0 – First Look – Ravikath Chaganti 12.00Noon – 12.30PM – Building GUI for PowerShell Scripts – Vinith Menon Registration is free:

Session on PowerShell 4.0 Desired State Configuration (DSC) – India Virtual Tech Conference, 1st August 2013

I will be speaking at the Virtual Tech Conference (VTC) on Desired State Configuration (DSC) in PowerShell 4.0. VTC is a South Asia MVP community initiative to bring you up-to the speed on latest Microsoft technologies. This event is being hosted by South Asia MVP team and they have a very interesting line-up of speakers and topics in this event. This includes two parallel tracks – developer and IT Pro.

Speaking at PowerShell Saturday, Singapore – Windows PowerShell 4.0 First Look

I will be speaking at the PowerShell Singapore User Group’s PowerShell Saturday event on 20th July, 2013. Although this event is an in-person event, I will be doing an online session from India. The timings below are Singapore time. My online session is on Windows PowerShell 4.0. I will showing the new features of PowerShell 4.0 including Desired State Configuration. My session will start at 1.25PM IST on July 20th. You can register for the online session at: You will receive the online meeting details 3hours before the event.

Retrieve list of VMs excluded from SCVMM PRO/Dynamic Optimization

We can exclude VMs from SCVMM Performance and Resource Optimization (PRO) or Dynamic Optimization (DO). This is done at a VM level and there is no central place to see what all VMs are excluded from optimization. PowerShell to the rescue, of course. The Get-VM cmdlet in SCVMM module has a property called ExcludeFromPRO which tells us if a VM is excluded from PRO or DO. So, this is quite simple.

I will publish another post to show you where exactly this comes handy. Watch this space.

PoshUtils: Retrieve Cluster Shared Volume (CSV) to physical disk mapping

Last week, I was looking for a way to retrieve the Clustered Shared Volume (CSV) to physical disk mapping on Windows Server 2012 using PowerShell. I have seen some scripts elsewhere that use DiskSignature to get this mapping using WMI. However, I wasn’t able to follow the same approach as the disk signature for some of the volumes I am using turned out to be 0x0 for some reason. So, I started looking at an alternate approach and figured that I could use the volume path as the key. So, I started wrapping that code in a function and this is what I ended up with.

The code is self-explanatory. Since I am using the Windows Server 2012 storage cmdlets, this will work only on Windows Server 2012 systems and that is all I tested also. Here is how you can use this function

And, this is what you will see. Hope this is helpful.