Skip to content

Instantly share code, notes, and snippets.

@manualbashing
Created January 16, 2020 10:51
Show Gist options
  • Select an option

  • Save manualbashing/6a512042465a6925d453750c18c170d6 to your computer and use it in GitHub Desktop.

Select an option

Save manualbashing/6a512042465a6925d453750c18c170d6 to your computer and use it in GitHub Desktop.
[Copy File to Datastore] #PowerCLI
$ds = Get-Datastore -Name SQL
Copy-DatastoreItem -Item C:\Administration\SQL2017_DE.iso -Destination $ds.DatastoreBrowserPath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment