Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 195209

Writing/Deleting files on a .FLP virtual floppy image

$
0
0

I have a virtual image mounted as Floppy Drive 1 and I am trying to move a file to it.

 

This is my Powershell:


$server = Connect-VIServer -Server $vCenterAddress -Port $vCenterPort -Protocol $vCenterProtocol -User $vCenterUsername -Password $vCenterPassword

$ds1 = Get-Datastore -Server $server $sourceDatastore

New-PSDrive -Location $ds1 -Name source -PSProvider VimDatastore -Root '\'

Copy-DatastoreItem  source:$sourceFolder$sourceFilename   -Destination A:platformConfig.xml-jhm

 

I am getting the following error:


Copy-DatastoreItem : The specified destination folder 'A:\' does not exists. Use the Force parameter to force operation.

 

Do I need to do something special to be able to write to the virtual A: drive? Is it under a name different from A:?

 

Thanks.

John


Viewing all articles
Browse latest Browse all 195209

Trending Articles



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