Skip to content

Tag: PowerShell

Microsoft PowerShell

PowerShell 0

GitHub Repository creation with PowerShell

In the last few weeks I had to create several GitHub repositories for my daily work. To simplify the process I automated the creation with PowerShell. I created and initialized the repositories manually until I recognized that this is a perfect task to automate. First I studied the documentation of the GitHub API v3, which is very well documented! Fortunately […]

PowerShell 0

[NoBrainer] Invoke-Pester from your Visual Studio IDE as an External Tool

You might have heard of the recently added support for PowerShell development inside Visual Studio. This extension provides several features, with support for the Pester testing framework being one of them. However, it seems that sometimes the Visual Studio 2013 just does not recognise your test scripts (even when they are named like SomeScript.Tests.ps1). As a quick workaround you can […]

PowerShell 1

[NoBrainer] Sending SMS to Clickatell via PowerShell

Some time ago I mentioned an error and a possible workaround when using PowerShell with the Clickatell SOAP interface. As Clickatell now provides a REST based interface I thought it is time to quickly show you how to use this API instead. Description When sending SMS you certainly first have to enable the REST API in your developer central account. […]

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

Module: biz.dfch.PS.Ipam.Infoblox.Api

GENERAL This Microsoft PowerShell module contains Cmdlets to perform various base actions and utility/convenience functions against the Infoblox REST API (WAPI). You can download this module via GitHub at biz.dfch.PS.Ipam.Infoblox.Api or via NuGet with Install-Package biz.dfch.PS.Ipam.Infoblox.Api. DESCRIPTION This module uses Invoke-RestMethod internally. You can also use the functionality of the provided InfobloxApi.dll assembly that is more efficient. The current implementation […]

PowerShell 2

Validating JSON objects with PowerShell Advanced Function Parameters

PowerShell makes it really easy to convert JSON into (PSCustom) objects with the means of ConvertFrom-Json. But manually verifying every property after conversion is particular tedious and annoying work. Recently I wrote about Using typeful JSON Deserialisation and Validation in PowerShell. However, sometimes this is just not feasible as you might not have a C# class describing your data. Scripting […]

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 […]