Transient Fault Handling with PowerShell

We are using PowerShell to automate various backend systems quite heavily. Sometimes these interfaces (which may be REST APIs, message queues or something completely different) are shortly not available because of intermittent failures or simply because of network issues. In any case, most of the time a script will crash, though quite a bunch of […]

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

Module: biz.dfch.PS.System.Utilities

UPDATE 2015-03-15 we just released v1.0.5 which contains a few new Cmdlets such as Sending SMS to Clickatell via PowerShell. We are currently working on an automation project where we make use of several of our modules that we created in the past. In order to ease integration into the customer’s code and provide a […]

[NoBrainer] PowerShell Write-Progress wrapper

Nested Write-Progress bars

Sometimes I have to write scripts that are executed interactively and actually watched by operators as they progress – I know this sounds strange enough. In these rare cases I like to use something like Write-Progress as the poor operator might not want to scroll through endless lines of logs but just wants to literally […]

vCO PowerShell Plugin: Import-CliXml fails with System.Security.Cryptography.CryptographicException

When using the PowerShell plugin for vCenter Orchestrator (vCO) you might receive a ‘System.Security.Cryptography.CryptographicException’ exception when using ‘Import-CliXml’ with a PSCredential object. Furthermore, you might get the message: ‘The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation’. The reason behind […]