Public/Get-GW2WizardsVault.ps1

<#
    .SYNOPSIS
        Retrieves information about the current Wizard's Vault season.
 
    .DESCRIPTION
        The Get-GW2WizardsVault cmdlet retrieves information about the current Wizard's Vault season, including start/end dates and available listings/objectives IDs.
 
    .EXAMPLE
        Get-GW2WizardsVault
        Retrieves current season information.
 
    .NOTES
        API Endpoint: /v2/wizardsvault
    #>

function Get-GW2WizardsVault {
    
    [CmdletBinding()]
    param ()

    $Uri = "https://api.guildwars2.com/v2/wizardsvault"

    try {
        Invoke-RestMethod -Uri $Uri -Method Get
    }
    catch {
        Write-Error "Failed to retrieve Wizard's Vault season info: $_"
    }
}