Microsoft's Installtion Guide
Read-Host -AsSecureString | Export-Clixml -Path C:\Temp\TTELAB.xml -Force
$secureVaultPasswordPath = 'C:\Temp\TTELAB.xml'
Register-SecretVault -Name TTELAB -ModuleName Microsoft.PowerShell.SecretStore -DefaultVault
$vaultUnlockPassword = Import-CliXml -Path $secureVaultPasswordPath
Unlock-SecretStore -Password $vaultUnlockPassword
$storeConfiguration = @{
Authentication = 'Password'
PasswordTimeout = 3600 # 1 hour
Interaction = 'None'
Confirm = $false
}
Set-SecretStoreConfiguration @storeConfiguration