Uploading XL Deploy DAR package via PowerShell

Introduction Recently at my customer’s site, I started using XebiaLabs product called XL Deploy. It is a software solution that helps automating the deployment process. Many operations are exposed via a REST API. Uploading of packages is one of them and is done following the Multipart/form-data standard. In case you need to do so, via […]

PowerShell tips and tricks – Multipart/form-data requests

Introduction If you ever came across a need to invoke a request that needs to oblige to Multipart/form-data standard in PowerShell, you probably got to know quite quickly that none of commonly used cmdlets do support it. Both, Invoke-WebRequest and Invoke-RestMethod are unaware on how to format the request body in order to comply to […]

PowerShell tips and tricks – Decoding SecureString

Introduction It is quite common to get across SecureString type in PowerShell. If you ever needed to supply a credential object, at example to the Invoke-RestMethod cmdlet, then you for sure came across a SecureString. I will describe a couple of “tricks” that can be useful meanwhile working with SecureString objects. Creating a SecureString This […]