functions/Install-BitWarden.ps1

function Install-BitWarden
{
    <#
.SYNOPSIS
Install-BitWarden

.Description
Install BitWarden Client with GUI.

.EXAMPLE
Install-BitWarden

.NOTES
Name: Install-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()
    BEGIN {
    }
    PROCESS {
        $process = Start-Process -FilePath "$PSScriptRoot\..\private\packages\Bitwarden-Installer-2023.12.1.exe" -PassThru `
            -NoNewWindow
        Write-Verbose -Message "Open with Id: $( $process.Id ); Handle: $( $process.Handles )"
    }
    END {
    }
}