PSShlink

0.7.0

An unofficial PowerShell module for Shlink (https://shlink.io/), an open-source self-hosted and PHP-based URL shortener application

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSShlink

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Adam Cook (@codaamok)

Copyright

(c) Adam Cook (@codaamok). All rights reserved.

Owners

Tags

Shlink url-shortener

Functions

Get-ShlinkDomains Get-ShlinkServer Get-ShlinkTags Get-ShlinkUrl Get-ShlinkVisits Get-ShlinkVisitsOrphan New-ShlinkTag New-ShlinkUrl Remove-ShlinkTag Remove-ShlinkUrl Save-ShlinkUrlQrCode Set-ShlinkDomainRedirects Set-ShlinkTag Set-ShlinkUrl

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes

# Added
- New function `Set-ShlinkDomainRedirects`, new in Shlink 2.8.0
- New `-ErrorCorrection` parameter for `Save-ShlinkUrlQrCode`, new in Shlink 2.8.0
# Changed
- Minimum Shlink version updated to 2.8.0
# Fixed
- Return exception `UnauthorizedAccessException` when Shlink returns 401. Previously `InvalidOperationException` was returned
# Security
- Default to https:// as -ShlinkServer if schema is not provided. Largely for security but also because of https://github.com/PowerShell/PowerShell/issues/14531

Version History

Version Downloads Last updated
0.7.0 (current version) 47 8/9/2021
0.6.0 24 5/23/2021
0.5.0 20 2/14/2021
0.4.0 11 2/4/2021
0.3.0 12 1/23/2021
0.2.0 11 1/2/2021
0.1.0 17 11/27/2020