I do not understand how you are able to disable leasing mode in SMB. LeasingMode is not a parameter for the set-smbshare command. Here's what I get when I try to run it:
PS C:> set-smbshare Database-No-Lease$ -LeasingMode None
Set-SmbShare : A parameter cannot be found that matches parameter name 'LeasingMode'.
At line:1 char:33
- set-smbshare Database-No-Lease$ -LeasingMode None
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-SmbShare], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-SmbShare
And when I run the get-smbshare command you describe, leasingmode is not a property that is listed.
I've been Googling this trying to puzzle it out but finding nothing useful. I am running this on a 2012R2 server. It has SMB v1, 2 and 3 running on it. Does this require Server 2016 to run your command?
-Margaret