Public/Settings/Get-EdenSecureSetting.ps1

function Get-EdenSecureSetting
{
    <#
    .SYNOPSIS
        Converts a secure string settings value to a string value.
    .DESCRIPTION
        Converts a secure string settings value to a string value.
    .EXAMPLE
        PS> Get-EdenSecureSetting -Value "VeryLongEncryptedStringGeneratedOnCurrentComputer"
        "UnencryptedString"
    .OUTPUTS
        The unencrypted value.
    #>

    [CmdletBinding()]
    param(
        # The string value of the SecureString that was generated on this computer.
        [String] $Value
    )
    $secure = ConvertTo-SecureString $Value
    return (ConvertFrom-SecureString $secure -AsPlainText)
}
New-Alias `
    -Name e-stss `
    -Value Get-EdenSecureSetting `
    -Force