Powershell – Extract Files from ZIP Archive

Starting with PowerShell 5, cmdlets like Expand-Archive can extract the content of ZIP files to disk. However, you can always extract only the entire archive. Luckily, there are other methods to extract, not only, from .zip archives, specified files or folders, on Windows-based systems. Read More …

Getting Let’s Encrypt Certificate using DNS-01 challenge with acme-dns-certbot-joohoi or acme.sh

Getting Let’s Encrypt Certificate using DNS-01 challenge with acme-dns-certbot-joohoi or acme.sh, in manual or automated way, using a cron job and/or DNS APIs, if available Read More …

How to use custom UserAgent with Invoke-WebRequest on Powershell? [New Question]

A quick question, answered on Heelpbook, about “How to user custom UserAgent with Invoke-WebRequest on Powershell?”, sometime useful while testing some code interacting with websites using Powershell code. Read More …

Configuring OCSP Stapling for Let’s Encrypt in Nginx [New Question]

A quick question, answered on Heelpbook, about “Configuring OCSP Stapling for Let’s Encrypt in Nginx”, that helps checking the revocation status of a digital certificate issued by Let’s Encrypt, on Nginx. Read More …

Powershell – Test URL “ping” from command line

The following scenario could be useful for those that need to regularly monitor the response type of specifc URL or URLs; this can be done quite easily by using Powershell. The approach can be easily integrated in functions and automated/scheduled scripts to get a periodic status of the URLs monitored. Read More …