PSShlink

0.9.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.9.0

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

Install-PSResource -Name PSShlink -Version 0.9.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-ShlinkVisitsNonOrphan Get-ShlinkVisitsOrphan 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
- Function Get-ShlinkUrl has new parameter -TagsMode, new in Shlink 3.0.0
- Function Get-ShlinkTags has new parameter -SearchTerm, new in Shlink 3.0.0
- New function Get-ShlinkVisitsNonOrphan, new endpoint in Shlink 3.0.0
- New parameter -RoundBlockSize for Save-ShlinkUrlQrCode
# Changed
- Get-ShlinkTags uses the new /tags/stats endpoint to include stats in the data returned. This change is purely internal of the function, does not impact how the function is used or how the data is returned.
- Get-ShlinkDomains now includes two parent properties when data is returned: data and defaultRedirects. In Shlink 2.10.0, this endpoint was updated to include the defaultRedirects property. Previously, all that was returned was everything within the data property.
- New parameter set of possible values for -OrderBy parameter of Get-ShlinkUrl function: longUrl-ASC, longUrl-DESC, shortCode-ASC, shortCode-DESC, dateCreated-ASC, dateCreated-DESC, visits-ASC, visits-DESC, title-ASC, and title-DESC
# Removed
- Function New-ShlinKTag as the endpoint was removed from Shlink REST API in 3.0.0
# Fixed
- Remove-ShlinkTag ShouldProcess prompts listed the entire array of tags passed to it, rather than the current iterable it was working on

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 (current version) 14 2/13/2022
0.8.2 70 11/21/2021
0.8.1 14 11/21/2021
0.8.0 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