CmdID

CmdID / PowerShell / Cmdlets / Copy

Copy-VMFile

Copies a file to a virtual machine. Windows Server PowerShell reference

From the Windows Server PowerShell reference 13 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

13 in the Windows Server PowerShell reference
-AsJobRuns the cmdlet as a background job.
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ComputerNameSpecifies an array of Hyper-V hosts.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CreateFullPathIndicates that when the cmdlet copies a file, it creates folders if the folder does not already exist.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-DestinationPathSpecifies a path.
-FileSourceSpecifies the type of a file source.
-ForceForces the command to run without asking for user confirmation.
-Name, -VMNameSpecifies an array of virtual machine objects by name.
-SourcePathSpecifies a path.
-VMSpecifies an array of virtual machine objects.
-WhatIf, -wiShows what would happen if the cmdlet runs.