Its working.
ip has the IP address.
PS E:\Scripts> New-PSDrive -Location $ds -Name $drvName -PSProvider VimDatastore -Root '\'
Name Used (GB) Free (GB) Provider Root CurrentLocation
---- --------- --------- -------- ---- ---------------
MyDS190... VimDatastore \ip@443\Q\123-1
PS E:\Scripts> $ds = Get-Datastore -Name "123-1"
New-PSDrive -Location $ds -Name DSTest -PSProvider VimDatastore -Root '\'
Name Used (GB) Free (GB) Provider Root CurrentLocation
---- --------- --------- -------- ---- ---------------
DSTest VimDatastore \ip@443\Q\123-1