Skip to content

Tag: PowerCLI

PowerShell 0

Promote a Linked Clone Virtual Machine to a Full Clone with PowerCli

Linked clone VirtualMachines share their base disks with their parent virtual machine. Only changes (delta) are stored in the childs virtual disks. These results in two major benefits: Fast Provisioning time Space savings   However, linked clones have some limitations: Diskspace cannot be adjusted Performance impact – Depending on storage cache The following PowerCLI snippets will promote all virtual disks […]

PowerShell 0

vCloud Director: Federation certificate expiration emails / Certificate regeneration troubles in large environments

Hi, this is Daniel and this is my first post about a small gotcha you might experience with VMware vCloud Director and the surprising resumé that there is no automated solution for fixing that. Since vCloud Director 5.1 it is possible to enable your organization to use an SAML Identity provider. And even if you don’t use it, vCloud Director […]

PowerShell 0

Module: biz.dfch.PS.Cumulus.VI

This is Microsoft PowerShell module is part of our Apache 2.0 based open source automation framework “Cumulus”. You will find all related posts via the “Cumulus” tag. You can use this module to perform operations against VMware vCenter infrastructure (the module makes use and abstracts VMware’s supplied PowerShell PowerCLI snapin). You can download the module on GitHub or on NuGet […]

PowerShell 6

[NoBrainer] SSL connection error when using PowerShell

When using https request (directly or indirectly) with PowerShell you might run into different errors when using non-standard (i.e. not trusted, expired, self-signed etc) certificates: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The underlying connection was closed: An unexpected error occurred on a send. In either case you will find plenty of […]

PowerShell 0

PowerCLI Search-Cloud reports wrong data on QueryType ‘ProviderVdc’

Recently I quickly mentioned the universal PowerCLI applet Search-Cloud that can be used when dealing with vCloud Director. Howevery it seems you have to verify its output when using it to query Provider Vdc parameters. The output mixes the “allocation” and “used” counters for CPU, Memory and Storage as you can see in the example below (“used” is larger than […]

PowerShell 3

Get Disk Capacity of a Virtual Machine in vCloud Director via PowerCLI

With the advent of PowerCLI for vCloud Director the reasons for using vCenter Orchestrator (vCO) blur even more. VMware provides us several CmdLets that we can all find in the “VMware.VimAutomation.Cloud” snapin (“Get-Command -Module VMware.VimAutomation.Cloud”). Sure this library is by far not perfect, there is quite some functionality. However, when using the “Get-CiVm” CmdLet you will probably find out quickly […]