functions/Connect-BitWarden.ps1

function Connect-BitWarden
{
    <#
.SYNOPSIS
Connect-BitWarden [-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-BitWarden
Connect-BitWarden -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 {
    }
}