Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
upload iso to datastore
#upload iso to datastore
$datastore = Get-Datastore "PK-VOL-01"
New-PSDrive -Location $datastore -Name ds -PSProvider VimDatastore -Root "\"
Copy-DatastoreItem -Item c:\users\dsatech\2016.iso -Destination ds:\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.