LoginVault
EventNames:
LoginVault_Post
Remarks:
If the connection was established, the automatic variable
$vaultConnection
(provided by powerVault) can be used in the event action to retrieve the connection information:$vaultConnection.Server # localhost $vaultConnection.UserName # Administrator $vaultConnection.Vault # Vault
Examples:
LoginVault_Post:
Register-VaultEvent -EventName LoginVault_Post -Action 'PostLoginVault'
function PostLoginVault() {
#Write event code here
}