PowerShell

PowerShell Bangalore User Group Meeting – June, 2013

May 16, 2013

PowerShell Bangalore User Group (@PSBUG) is meeting on June 1st, 2013. From this event onwards, we are moving into a new format of having sessions not longer than 30 minutes and having multiple speakers from the community. In this upcoming meeting, we have four sessions on using PowerShell. Agenda: 10AM to 10.15AM – Registrations at [...]

Continue Reading →

Bangalore PowerShell User Group Meet on April 6th 2013

April 3, 2013

The Bangalore PowerShell User Group (@PSBug) is meeting on April 6th 2013. There are some very exciting topics lined up for you by the community and I am really looking forward to this meet. Here are the topics that will be discussed: 1. PowerShell for Exchange by Sahal Omer2. PowerShell for Citrix by Harshul Patel3. PowerShell for [...]

Continue Reading →

Set (or inject) guest network configuration from Hyper-V host (Windows Server 2012)

February 3, 2013

Those of you who work(ed) on VMware ESX and use PowerCLI for ESX management would have – at some point in time – used the Set-VMGuestNetworkInterface cmdlet to set the IP address configuration of guest OS from the vCenter host or where you have PowerCLI installed. This is quite useful when performing automated guest OS [...]

Continue Reading →

Get Hyper-V (Windows Server 2012) guest network configuration using WMI

January 31, 2013

If you have not seen this yet, the updated WMI namespace for Hyper-V role in Windows Server 2012 has some hidden gems. I love playing around with WMI and the changes in Hyper-V namespace had me thinking about new possibilities. Here is the first one in this series of posts on how you can extend [...]

Continue Reading →

PoshUtils: Set (enable or disable) resource metering on clustered Hyper-V virtual machines

January 28, 2013

In Windows Server 2012 with Hyper-V role, we can enable VM resource metering to measure the utilization of four resource types (CPU, memory, network, and disk) of Hyper-V virtual machines. Once the resource metering is enabled, using Enable-VMResourceMetering, we can use Measure-VM cmdlet to retrieve the utilization of a VM. Now, there are Enable-VMResourceMetering and [...]

Continue Reading →

PoshUtils: Downloading SharePoint 2013 prerequisites for offline install

January 21, 2013

Okay, this is yet another post on downloading the SharePoint 2013 prerequisites for offline install. I am sure you have seen many and everyone has their own way. But I think none of those posts/scripts – at least the ones I read – don’t give you a unified way to download the prerequisites for all [...]

Continue Reading →

Configuring anti-affinity for Hyper-V virtual machines

January 17, 2013

If you have worked on VMware, you might already be aware of a concept of DRS rules. Using DRS rules, we can create VM anti-affinity rules so that no two virtual machines hosting similar application roles run on the same ESX host. For example, when you have a virtualized SQL mirror or a virtualized SQL failover cluster, it is critical to separate the SQL virtual machines participating in the application group onto different ESX hosts. This is where we can use VMware DRS rules – “Separate Virtual Machines” rule to be specific.

Continue Reading →

PoshUtils: Export Visio pages in PowerShell

January 15, 2013

A while ago, I published a post on exporting Visio pages to PNG format. This is something I do quite often. This post received good amount of views and I had a couple of people reaching out to me asking if I can extend that function to export visio pages to other formats as well.

Continue Reading →