CLI Session Key

In PowerShell, you can pass the session key to a variable with some command like

$sessionkey=(bw login [username] --raw)

Cf. here.

I can get this to work for me with sync like

bw sync --session $sessionkey

But I’m having trouble using --session $sessionkey with the export command. No matter what I do, CLI keeps asking me to resupply the master password for the export.

Would there be any thoughts on getting --session $sessionkey to work with the export command?