When using New-KeePassDatabaseConfiguration with a UNC path such as -DatabasePath "\\domain.local\users\username\My Documents\KeePass\database.kdbx it results in:
New-KeePassDatabaseConfiguration : Cannot validate argument on parameter 'DatabasePath'. The "Test-Path $_" validation script for the argument with value "\\domain.local\users\username\My Documents\KeePass\database.kdbx" did not return a result of True.
When using
New-KeePassDatabaseConfiguration
with a UNC path such as-DatabasePath "\\domain.local\users\username\My Documents\KeePass\database.kdbx
it results in:New-KeePassDatabaseConfiguration : Cannot validate argument on parameter 'DatabasePath'. The "Test-Path $_" validation script for the argument with value "\\domain.local\users\username\My Documents\KeePass\database.kdbx" did not return a result of True.