image_pdfimage_print

Downloading Files with cURL, Including Text and Binary Objects

Many orchestration and automation processes will need to download content from external or internal sources over protocols like HTTP and FTP. The simple way to do this is to leverage lightweight, commonly supported and available tools. The most common and popular tool that I’ve found for managing scripting of downloads inside configuration management systems and other script management tools is …

View Post

PowerShell cURL – Yes It Exists – Invoke-RestMethod

cURL is a tool we all find very useful, and if we are PowerShell users, we often want to have the combination of PowerShell and cURL.  With PowerShell 3.0, one of the really great CmdLets that is available is Invoke-RestMethod. This handy little CmdLet allows us to now use the PowerShell scripting language to access HTTP resources using the native …