Archive for August, 2011

Use Windows 2008 R2 as an NFS Server for vSphere

August 18, 2011 Leave a comment

Most people don’t realize it, but Windows 2008 R2 comes with a decent and simple to use NFS component.

This can change a simple File Server in Shared Storage for vSphere (to store ISO files, Templates or even VMs).

To start, fire up Server Manager and go the the Roles section.  Right click and select Add Roles.


Read more…

Categories: Network, Storage, vSphere

Enable RSS in Guest OS with PowerCLI

August 9, 2011 Leave a comment

If you have Windows 2003/2008 (R2) VMs with the VMXNet3 vNIC, you might want to enable RSS.

See the following article for more details and the improvements when enabling RSS.

Enable RSS (Receive Side Scaling) on Windows 2008 (R2) Virtual Machines

To enable RSS, you need to do some action inside the VM.  Luckily, this can be scripted.  Basically, we will invoke a batchfile from PowerCLI (through VMware Tools) to change a regkey which enables RSS.  This can be easily adapted to loop through all VMs and enable it on all with VMXNet3 adapters.

Read more…

Categories: Network, PowerCLI, VMware, vSphere

Suppress “Supply values for the following parameters: Credential” when using Get-Credential in PowerShell

August 4, 2011 1 comment

When you want to ask the user for alternative credentials, the Get-Credential cmdlet is your friend.

You get a nice popup, asking you for a username and password.


But your PowerShell console always displays this nasty message:


Read more…

Categories: PowerShell

Suppressing VMware VIX Warnings when running Invoke-VMScript cmdlets

August 3, 2011 Leave a comment

I have a practice of running up-to-date software.

Some scripts in PowerCLI which perform in-guest operations, depend on VMware VIX.

The latest version of VIX is


Read more…

Categories: PowerCLI, VMware