Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourcePath not made clear it is relative to the hypervisor when executing remotely #3681

Open
sammie-p opened this issue Oct 25, 2023 · 1 comment
Assignees
Labels
area-hyper-v Issues for hyper-v module doc-bug For Upwork freelance team categories/reporting.

Comments

@sammie-p
Copy link

After reading the documentation, I understood I would be able to remotely copy a file from my workstation to a VM via its hypervisor with the following command:

Copy-VMFile -ComputerName <hypervisor> -VMName <VMname> -SourcePath <file on my workstation> -DestinationPath <path on VM> -FileSource Host

However, I have learnt from trial and error that -SourcePath is a path to a file on the hypervisor only. This is not made clear anywhere on this page.

Suggestions:

The document summary should be more verbose to explain this functional limitation. "Copies a file to a virtual machine from its hypervisor."

Disambiguate the value "Host" for the required FileSource parameter: Host refers to the Hyper-V host machine. --I can't understand why this parameter is required when it only accepts one value, but I know that's not a question for the documentation team.

Explain that the SourcePath parameter is a path on the Hyper-V host machine, not the machine executing the Copy-VMFile command when it's done remotely by specifying the ComputerName or CimSession parameters.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@scanum scanum self-assigned this Oct 26, 2023
@scanum scanum added doc-bug For Upwork freelance team categories/reporting. area-hyper-v Issues for hyper-v module labels Oct 26, 2023
@officedocspr5
Copy link
Collaborator

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.

As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.

If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.

With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.

Here's what the new experience looks like.

Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.

First, select whether the article was helpful:

Image showing a dialog asking if the article was helpful with yes and no answers.

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful Article was unhelpful
Image showing a dialog asking how the article was helpful with several options. Image showing a dialog asking how the article wasn't helpful with several options.

Finally, select Submit and you're done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-hyper-v Issues for hyper-v module doc-bug For Upwork freelance team categories/reporting.
Projects
None yet
Development

No branches or pull requests

3 participants