functions/Connect-PasswordVault.ps1

function Connect-PasswordVault
{
    <#
.SYNOPSIS
Connect-PasswordVault [-Server <URL>]

.Description
Connect and unlock a BitWarden Tresor.

.Parameter [String]$Server
The BitWarden or VaultWarden Server Url. Default: https://password.fs255.org/

.EXAMPLE
Connect-PasswordVault
Connect-PasswordVault -Server <URL>

.NOTES
Name: Connect-BitWarden
Author: Felix Scholz
Version: 0.0.1.0
DateCreated: 2024-01-09

.LINK
- https://bitwarden.com/download/

.COMPONENT
Requires PSEdition Core
Requires Version 7.0 or above
#>

    [CmdletBinding()]
    param(
        [Parameter()]
        [String]$Server = "https://password.fs255.org/"
    )
    BEGIN {
    }
    PROCESS {
        bw config server "$Server"
    }
    END {
    }
}