Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: Invoke-vmScript giving Error

$
0
0

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                                                                                                                                                             

Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>