PSShlink

0.8.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 -RequiredVersion 0.8.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSShlink -Version 0.8.0

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

Owners

Copyright

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

Package Details

Author(s)

  • Adam Cook (@codaamok)

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
- Improved build pipeline to use [codaamok.build](https://github.com/codaamok/codaamok.build)
- New -ForwardQuery boolean parameter in New-ShlinkUrl and Set-ShlinkUrl (new in Shlink 2.9.0).
# Changed
- Minimum Shlink version updated to 2.9.0
- Renamed parameter -DoNotValidateUrl of switch type to -ValidateUrl of boolean type for both New-ShlinkUrl and Set-ShlinkUrl.
- Parameter -FindIfExists is now of type boolean instead of switch in New-ShlinkUrl. is now a switch and not a boolean.
- Removed use of methods SecureStringToBSTR and PtrToStringAuto from Marshal .NET class for secure string handling in InvokeShlinkRestMethod, in favour of using GetNetworkCredential method from a PSCredential object.
- Save-ShlinkUrlQrCode no longer has hardcoded default parameter values (much like the API did) for size, margin, format, and error correction level.. Shlink 2.9.0 now lets you configure these defaults for QR codes, so by omitting values for these params, your server default values are used.
# Fixed
- Corrected object reference to API URL attempted in ErrorRecord

FileList

Version History

Version Downloads Last updated
0.12.2 54 3/6/2023
0.12.0 8 3/5/2023
0.11.0 9 3/3/2023
0.10.2 52 4/23/2022
0.10.0 15 4/23/2022
0.9.4 36 2/26/2022
0.9.1 33 2/14/2022
0.9.0 14 2/13/2022
0.8.2 70 11/21/2021
0.8.1 14 11/21/2021
0.8.0 (current version) 15 11/20/2021
0.7.0 80 8/9/2021
0.6.0 36 5/23/2021
0.5.0 31 2/14/2021
0.4.0 21 2/4/2021
0.3.0 22 1/23/2021
0.2.0 21 1/2/2021
0.1.0 29 11/27/2020
Show less