Configuring vRealize Orchestrator and WinRM Host for Kerberos Authentication

In order to leverage the vRealize Orchestrator PowerShell plug-in to enable interaction between the vRealize Orchestrator appliance and Windows Powershell there is a requirement to add a PowerShell Host to your vRealize Orchestrator configuration, this will only for workflows to interact with Windows Powershell and optionally PowerCLI and the vCenter Server system.     The … More Configuring vRealize Orchestrator and WinRM Host for Kerberos Authentication

Exposing a stream around a log file for synchronous writes using Powershell

I was recently looking at streaming output to a log file synchronously in a powershell session to write numerous events for invoking several cmdlets in a script operation. In order to achieve this I was able to leverage the FileStream and StreamWriter classes as well as creating a log function to both write the event … More Exposing a stream around a log file for synchronous writes using Powershell

Automating the creation of virtual machine hard disks and NTFS mounted volumes for a virtual machine.

As part of an automated delivery of a virtual machine running Microsoft SQL Server I had a requirement to create a number of virtual machine hard disks  and for each disk create a NTFS mounted folder. In order to achieve this I was required to create two functions one to create the virtual machine hard … More Automating the creation of virtual machine hard disks and NTFS mounted volumes for a virtual machine.

Modifying guest network interface with the Invoke-VMScript cmdlet

With the news that the ‘Set-VMGuestNetworkInterface’ cmdlet is to be deprecated in the next release of PowerCLI (http://blogs.vmware.com/PowerCLI/2014/11/announcement-future-cmdlet-deprecation.html), the question is how do I now modify the guest network interface? The ability to perform this action can now be moved to the Invoke-VMScript cmdlet, which is a pretty cool way to invoke a script in … More Modifying guest network interface with the Invoke-VMScript cmdlet