biz.dfch.PS.vCAC.Utilities PowerShell Module available

Finally I made it and found the time to upload the biz.dfch.PS.vCAC.Utilties PowerShell module! It is available for download at Github and NuGet (see below for links) and placed under the Apache 2.0 license.

How to install:
Copy the module along with the XML configuration file into a directory with the same name as the module under a path that is defined in $ENV:PSModulePath. Within the XML you can specify the vCAC server to connect to. As well you need to make sure you reference the .NET assemblies correctly. you need PowerShell 3.0 at least to run the scripts.

In case you get error because of some “Log-*”- or “Output-*”-cmdlets: this means you do not have installed the “biz.dfch.PS.System.Logging” module. If you do not want logging just generate some stubs for it or just comment it out. But it is quite advisable to have logging turned on to easily investigate in case of errors.

You can get a list of all Cmdlets after importing the module and issuing a “Get-Command” for that module. For help on a specific Cmdlet you just call “Get-Help Cmdlet-Name”. Sometimes there is a real description, sometimes not. And sometimes there could be not up-to-date description. To be on the safe side you have a look at the script itself.

You can download the module on GitHub at or get on NuGet with ‘Install-Package biz.dfch.PS.vCAC.Utilities’ (

CommandType     Name
-----------     ----
Alias           Get-VcacBuildProfile
Alias           Get-VcacVCenterMachine
Alias           Get-VcacVIMachine
Alias           New-VcacBuildProfile
Alias           New-VcacBuildProfileProperty
Alias           New-VcacPropertyLayout
Alias           New-VcacUserLogEntry
Alias           Remove-VcacBuildProfile
Alias           Remove-VcacBuildProfileProperty
Alias           Remove-VcacPropertyLayout
Alias           Set-VcacBuildProfile
Alias           Set-VcacBuildProfileProperty
Alias           Set-VcacVirtualMachineCurrentTask
Alias           Set-VcacVirtualMachineCustomProperty
Alias           Set-VcacVirtualMachineStatus
Function        Backup-VcacDataContext
Function        ConvertTo-VcacArrayOfProperties
Function        Enter-VcacCriticalSection
Function        Exit-VcacCriticalSection
Function        Get-VcacCredential
Function        Get-VcacEntity
Function        Get-VcacGlobalProfile
Function        Get-VcacGlobalProfileProperty
Function        Get-VcacIPv4AddressRangeAddresses
Function        Get-VcacPropertyDefinition
Function        Get-VcacVCenterVirtualMachine
Function        New-VcacControlInstance
Function        New-VcacControlLayout
Function        New-VcacGlobalProfile
Function        New-VcacGlobalProfileProperty
Function        New-VcacIPv4AddressRange
Function        New-VcacNetworkProfile
Function        New-VcacPropertyDefinition
Function        New-VcacPropertyDefinitionAttribute
Function        New-VcacUserLog
Function        Remove-VcacControlInstance
Function        Remove-VcacControlLayout
Function        Remove-VcacGlobalProfile
Function        Remove-VcacGlobalProfileProperty
Function        Remove-VcacPropertyDefinition
Function        Remove-VcacPropertyDefinitionAttribute
Function        Restore-VcacDataContext
Function        Set-VcacGlobalProfile
Function        Set-VcacGlobalProfileProperty
Function        Set-VcacMachineStatus
Function        Set-VcacPropertyDefinition
Function        Set-VcacVirtualMachineLinkedProperty
Function        Set-VcacVirtualMachineProperty


  1. jibiwaba says:

    Can you post a downloadable link for the Logging module? The current link is password protected. Thanks.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: